GrantStatement.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 GrantStatement
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.