共用方式為


IndexedXmlPath.IsSingleton 屬性

Gets or sets a value that indicates whether ‘SINGLETON’ optimization hint is applied for the given XML path.

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

語法

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

value = instance.IsSingleton

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

屬性值

型別:System.Boolean
true if ‘SINGLETON’ optimization hint is applied for the given XML path; otherwise, false.

請參閱

參考

IndexedXmlPath 類別

Microsoft.SqlServer.Management.Smo 命名空間