Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.ServiceClientAdapterNS.ServiceClientAdapter.GetProtectionPolicyOperationStatusByURL C# (CSharp) Method

GetProtectionPolicyOperationStatusByURL() public method

Gets protection policy operation status using the operation tracking URL
public GetProtectionPolicyOperationStatusByURL ( string url ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackUpOperationStatusResponse
url string Operation tracking URL
return Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackUpOperationStatusResponse
        public BackUpOperationStatusResponse GetProtectionPolicyOperationStatusByURL(string url)
        {
            return BmsAdapter.Client.GetOperationStatusByURLAsync(
                              url,
                              BmsAdapter.GetCustomRequestHeaders(),
                              BmsAdapter.CmdletCancellationToken).Result;                              
        }