IndexOperationsExtensions.GetAsync Method
Retrieves an index definition from Azure Search. (see https://msdn.microsoft.com/en-us/library/azure/dn798939.aspx for more information)
Namespace: Microsoft.Azure.Search
Assembly: Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)
Usage
'Usage
Dim operations As IIndexOperations
Dim indexName As String
Dim returnValue As Task(Of IndexDefinitionResponse)
returnValue = IndexOperationsExtensions.GetAsync(operations, indexName)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetAsync ( _
operations As IIndexOperations, _
indexName As String _
) As Task(Of IndexDefinitionResponse)
[ExtensionAttribute]
public static Task<IndexDefinitionResponse> GetAsync (
IIndexOperations operations,
string indexName
)
[ExtensionAttribute]
public:
static Task<IndexDefinitionResponse^>^ GetAsync (
IIndexOperations^ operations,
String^ indexName
)
/** @attribute ExtensionAttribute() */
public static Task<IndexDefinitionResponse> GetAsync (
IIndexOperations operations,
String indexName
)
ExtensionAttribute
public static function GetAsync (
operations : IIndexOperations,
indexName : String
) : Task<IndexDefinitionResponse>
Parameters
- operations
Reference to the Microsoft.Azure.Search.IIndexOperations.
- indexName
Required. The name of the index to retrieve.
Return Value
Response from a Create, Update, or Get Index request. If successful, it includes the full definition of the index that was created, updated, or retrieved.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
IndexOperationsExtensions Class
IndexOperationsExtensions Members
Microsoft.Azure.Search Namespace