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
- parent
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ITabular
The object that is the parent of the index.
- name
Type: System.String
The name of the relational index object.
- collationInfo
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo
The CollationInfo object that the relational index uses.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableRelationalIndex
An IMutableRelationalIndex object.
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace