Delen via


Index.ParentXmlIndex Property

Gets or sets the parent of an XML index.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ParentXmlIndex As String 
    Get 
    Set
'Usage
Dim instance As Index 
Dim value As String 

value = instance.ParentXmlIndex

instance.ParentXmlIndex = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string ParentXmlIndex { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ ParentXmlIndex {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member ParentXmlIndex : string with get, set
function get ParentXmlIndex () : String 
function set ParentXmlIndex (value : String)

Property Value

Type: System.String
A String value that specifies the parent of an XML index.

Remarks

This property cannot be modified by using the Alter method. To change the property, the index must be rebuilt or re-created.

Note

For indexes based on the UserDefinedTableType object the value of ParentXmlIndex property is an empty string.

Examples

Creating, Altering, and Removing Indexes

See Also

Reference

Index Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Indexes

CREATE INDEX (Transact-SQL)