共用方式為


SelectiveXmlIndexPromotedPath.MaxLength 屬性

Gets or sets the maximum length optimization hint, in characters.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property MaxLength As IntegerLiteral 
    Get 
    Set
'用途
Dim instance As SelectiveXmlIndexPromotedPath 
Dim value As IntegerLiteral 

value = instance.MaxLength

instance.MaxLength = value
public IntegerLiteral MaxLength { get; set; }
public:
property IntegerLiteral^ MaxLength {
    IntegerLiteral^ get ();
    void set (IntegerLiteral^ value);
}
member MaxLength : IntegerLiteral with get, set
function get MaxLength () : IntegerLiteral 
function set MaxLength (value : IntegerLiteral)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.IntegerLiteral
The maximum length optimization hint.

請參閱

參考

SelectiveXmlIndexPromotedPath 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間