Microsoft.WindowsAzure.Management.ServiceManagement.Test.FunctionalTests.ServiceManagementCmdletTestHelper.RemoveAzureCertificate C# (CSharp) Method

RemoveAzureCertificate() public method

public RemoveAzureCertificate ( string serviceName, string thumbprint, string algorithm ) : Microsoft.WindowsAzure.Management.Model.ManagementOperationContext
serviceName string
thumbprint string
algorithm string
return Microsoft.WindowsAzure.Management.Model.ManagementOperationContext
        public ManagementOperationContext RemoveAzureCertificate(string serviceName, string thumbprint, string algorithm)
        {
            RemoveAzureCertificateCmdletInfo removeAzureCertificateCmdletInfo = new RemoveAzureCertificateCmdletInfo(serviceName, thumbprint, algorithm);
            WindowsAzurePowershellCmdlet azurePowershellCmdlet = new WindowsAzurePowershellCmdlet(removeAzureCertificateCmdletInfo);

            Collection<PSObject> result = azurePowershellCmdlet.Run();
            if (result.Count == 1)
            {
                return (ManagementOperationContext)result[0].BaseObject;
            }
            return null;
        }
ServiceManagementCmdletTestHelper