IDataSourceOperations.DeleteAsync Method (String, CancellationToken)

 

Applies To: Microsoft Azure

Deletes an Azure Search datasource. (see https://msdn.microsoft.com/library/azure/dn946881.aspx for more information)

Namespace:   Microsoft.Azure.Search
Assembly:  Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)

Syntax

Task<AzureOperationResponse> DeleteAsync(
    string dataSourceName,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync(
    String^ dataSourceName,
    CancellationToken cancellationToken
)
abstract DeleteAsync : 
        dataSourceName:string *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function DeleteAsync (
    dataSourceName As String,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

  • dataSourceName
    Type: System.String

    The name of the datasource to delete.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

See Also

IDataSourceOperations Interface
Microsoft.Azure.Search Namespace

Return to top