GrantStatement80.WithGrantOption 屬性

Gets or sets whether the WITH GRANT OPTION is defined.

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

語法

'宣告
Public Property WithGrantOption As Boolean 
    Get 
    Set
'用途
Dim instance As GrantStatement80 
Dim value As Boolean 

value = instance.WithGrantOption

instance.WithGrantOption = value
public bool WithGrantOption { get; set; }
public:
property bool WithGrantOption {
    bool get ();
    void set (bool value);
}
member WithGrantOption : bool with get, set
function get WithGrantOption () : boolean 
function set WithGrantOption (value : boolean)

屬性值

型別:System.Boolean
True if the WITH GRANT OPTION is defined; otherwise, false.

請參閱

參考

GrantStatement80 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間