Свойство 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.

См. также

Справочник

GrantStatement Класс

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom