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)