IndexOperationsExtensions.Create Method

Creates a new Azure Search index. (see https://msdn.microsoft.com/en-us/library/azure/dn798941.aspx for more information)

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

Usage

'Usage
Dim operations As IIndexOperations
Dim index As Index
Dim returnValue As IndexDefinitionResponse

returnValue = IndexOperationsExtensions.Create(operations, index)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Create ( _
    operations As IIndexOperations, _
    index As Index _
) As IndexDefinitionResponse
[ExtensionAttribute] 
public static IndexDefinitionResponse Create (
    IIndexOperations operations,
    Index index
)
[ExtensionAttribute] 
public:
static IndexDefinitionResponse^ Create (
    IIndexOperations^ operations, 
    Index^ index
)
/** @attribute ExtensionAttribute() */ 
public static IndexDefinitionResponse Create (
    IIndexOperations operations, 
    Index index
)
ExtensionAttribute 
public static function Create (
    operations : IIndexOperations, 
    index : Index
) : IndexDefinitionResponse

Parameters

  • operations
    Reference to the Microsoft.Azure.Search.IIndexOperations.
  • index
    Required. The definition of the index to create.

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