Partager via


GrantStatement.WithGrantOption, propriété

Obtient ou définit si WITH GRANT OPTION est défini.

Espace de noms :  Microsoft.Data.Schema.ScriptDom.Sql
Assembly :  Microsoft.Data.Schema.ScriptDom.Sql (dans Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntaxe

'Déclaration
Public Property WithGrantOption As Boolean
    Get
    Set
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)

Valeur de propriété

Type : System.Boolean
Retourne la valeur True si WITH GRANT OPTION est défini ; sinon, False.

Sécurité .NET Framework

Voir aussi

Référence

GrantStatement Classe

Microsoft.Data.Schema.ScriptDom.Sql, espace de noms