共用方式為


Index.ParentXmlIndex 屬性

Gets or sets the parent of an XML index.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ParentXmlIndex As String 
    Get 
    Set
'用途
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)

屬性值

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

備註

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

[!附註]

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

範例

建立、改變和移除索引

請參閱

參考

Index 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

索引

CREATE INDEX (Transact-SQL)