IndexOperationsExtensions.Create Method (IIndexOperations, Index)
Applies To: Microsoft Azure
Creates a new Azure Search index. (see https://msdn.microsoft.com/library/azure/dn798941.aspx for more information)
Namespace: Microsoft.Azure.Search
Assembly: Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)
Syntax
public static IndexDefinitionResponse Create(
this IIndexOperations operations,
Index index
)
public:
[ExtensionAttribute]
static IndexDefinitionResponse^ Create(
IIndexOperations^ operations,
Index^ index
)
static member Create :
operations:IIndexOperations *
index:Index -> IndexDefinitionResponse
<ExtensionAttribute>
Public Shared Function Create (
operations As IIndexOperations,
index As Index
) As IndexDefinitionResponse
Parameters
operations
Type: Microsoft.Azure.Search.IIndexOperationsReference to the Microsoft.Azure.Search.IIndexOperations.
index
Type: Microsoft.Azure.Search.Models.IndexRequired. The definition of the index to create.
Return Value
Type: Microsoft.Azure.Search.Models.IndexDefinitionResponse
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.
See Also
IndexOperationsExtensions Class
Microsoft.Azure.Search Namespace
Return to top