Index.IsXmlIndex Property

Gets or sets the Boolean property value that specifies whether the index is an XML index.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsXmlIndex As Boolean 
    Get
'Usage
Dim instance As Index 
Dim value As Boolean 

value = instance.IsXmlIndex
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsXmlIndex { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsXmlIndex {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IsXmlIndex : bool
function get IsXmlIndex () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the index an XML index.If True, the index is an XML index. Otherwise, False (default).

Remarks

Note

For indexes based on the UserDefinedTableType object the value of the IsXmlIndex property is always false.

Examples

Creating, Altering, and Removing Indexes

See Also

Reference

Index Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Indexes

CREATE INDEX (Transact-SQL)