SubscriptionServicePrincipalOperationsExtensions.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Delete Service Principal operation deletes the service principalwith specified servicePrincipalId, if it exists in the subscription.
public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync(this Microsoft.WindowsAzure.Management.ISubscriptionServicePrincipalOperations operations, string servicePrincipalId);
static member DeleteAsync : Microsoft.WindowsAzure.Management.ISubscriptionServicePrincipalOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As ISubscriptionServicePrincipalOperations, servicePrincipalId As String) As Task(Of AzureOperationResponse)
Parameters
- operations
- ISubscriptionServicePrincipalOperations
Reference to the Microsoft.WindowsAzure.Management.ISubscriptionServicePrincipalOperations.
- servicePrincipalId
- String
Required. The Id of the service principal.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET