共用方式為


IndexedXmlPath.XQueryMaxLength 屬性

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

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property XQueryMaxLength As Integer 
    Get 
    Set
'用途
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)

屬性值

型別:System.Int32
The maximum length optimization hint.

請參閱

參考

IndexedXmlPath 類別

Microsoft.SqlServer.Management.Smo 命名空間