Share via


IndexedXmlPath.IsSingleton Property

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

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 IsSingleton As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

IndexedXmlPath Class

Microsoft.SqlServer.Management.Smo Namespace