Share via


IIndexFactory.CreateRelationalIndex Method

Creates an IMutableRelationalIndex object that has the specified name.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Function CreateRelationalIndex ( _
    parent As ITabular, _
    name As String, _
    collationInfo As CollationInfo _
) As IMutableRelationalIndex
'Usage
Dim instance As IIndexFactory 
Dim parent As ITabular 
Dim name As String 
Dim collationInfo As CollationInfo 
Dim returnValue As IMutableRelationalIndex 

returnValue = instance.CreateRelationalIndex(parent, _
    name, collationInfo)
IMutableRelationalIndex CreateRelationalIndex(
    ITabular parent,
    string name,
    CollationInfo collationInfo
)
IMutableRelationalIndex^ CreateRelationalIndex(
    ITabular^ parent, 
    String^ name, 
    CollationInfo^ collationInfo
)
abstract CreateRelationalIndex : 
        parent:ITabular * 
        name:string * 
        collationInfo:CollationInfo -> IMutableRelationalIndex
function CreateRelationalIndex(
    parent : ITabular, 
    name : String, 
    collationInfo : CollationInfo
) : IMutableRelationalIndex

Parameters

  • name
    Type: System.String
    The name of the relational index object.

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableRelationalIndex
An IMutableRelationalIndex object.

See Also

Reference

IIndexFactory Interface

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace