Freigeben über


Index.ParentXmlIndex-Eigenschaft

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)

Eigenschaftswert

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

Hinweise

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

HinweisHinweis

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

Beispiele

Erstellen, Ändern und Löschen von Indizes

Siehe auch

Verweis

Index Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Indizes

CREATE INDEX (Transact-SQL)