مشاركة عبر


IndexedXmlPath.XQueryMaxLength Property

Gets or sets the maximum length optimization hint, in characters, applicable for xs:string and xs:untypedAtomic types only, null otherwise.

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 XQueryMaxLength As Integer 
    Get 
    Set
'Usage
Dim instance As IndexedXmlPath 
Dim value As Integer 

value = instance.XQueryMaxLength

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

Property Value

Type: System.Int32
The maximum length optimization hint.

See Also

Reference

IndexedXmlPath Class

Microsoft.SqlServer.Management.Smo Namespace