public override void ExecuteCmdlet()
{
try
{
this.WriteWarningWithTimestamp(
string.Format(
Properties.Resources.CmdletWillBeDeprecatedSoon,
this.MyInvocation.MyCommand.Name));
SiteListResponse response = RecoveryServicesClient.GetAzureSiteRecoverySites(this.Vault);
this.WriteSites(response.Sites);
}
catch (Exception exception)
{
this.HandleException(exception);
}
}