共用方式為


IndexedXmlPath.XmlComponentID 屬性

Gets or sets the unique ID of the XML schema component in the database.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property XmlComponentID As Integer 
    Get 
    Set
'用途
Dim instance As IndexedXmlPath 
Dim value As Integer 

value = instance.XmlComponentID

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

屬性值

型別:System.Int32
The unique ID of the XML schema component in the database.

請參閱

參考

IndexedXmlPath 類別

Microsoft.SqlServer.Management.Smo 命名空間