DataSourceOperationsExtensions.GetAsync Method (IDataSourceOperations, String)

 

Applies To: Microsoft Azure

Retrieves a datasource definition from Azure Search. (see https://msdn.microsoft.com/library/azure/dn946893.aspx for more information)

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

Syntax

public static Task<DataSourceDefinitionResponse> GetAsync(
    this IDataSourceOperations operations,
    string dataSourceName
)
public:
[ExtensionAttribute]
static Task<DataSourceDefinitionResponse^>^ GetAsync(
    IDataSourceOperations^ operations,
    String^ dataSourceName
)
static member GetAsync : 
        operations:IDataSourceOperations *
        dataSourceName:string -> Task<DataSourceDefinitionResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As IDataSourceOperations,
    dataSourceName As String
) As Task(Of DataSourceDefinitionResponse)

Parameters

  • dataSourceName
    Type: System.String

    Required. The name of the datasource to retrieve.

Return Value

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

Response from a Create, Update, or Get DataSource request. If successful, it includes the full definition of the datasource that was created, updated, or retrieved.

See Also

DataSourceOperationsExtensions Class
Microsoft.Azure.Search Namespace

Return to top