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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.