Compartilhar via


Propriedade do RDL GrantStatement80.WithGrantOption

Gets or sets whether the WITH GRANT OPTION is defined.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxe

'Declaração
Public Property WithGrantOption As Boolean 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

GrantStatement80 Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom