Dela via


GrantStatement80.WithGrantOption Property

Gets or sets whether WITH GRANT OPTION is defined.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property WithGrantOption As Boolean
'Usage
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);
}
public function get WithGrantOption () : boolean 
public function set WithGrantOption (value : boolean)

Property Value

Type: System.Boolean
Returns True if WITH GRANT OPTION is defined; otherwise, False.

.NET Framework Security

See Also

Reference

GrantStatement80 Class

GrantStatement80 Members

Microsoft.Data.Schema.ScriptDom.Sql Namespace