Delen via


RevokeStatement.GrantOptionFor Property

Gets or sets whether GRANT OPTION FOR is defined.

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

Syntax

'Declaration
Public Property GrantOptionFor As Boolean 
    Get 
    Set
'Usage
Dim instance As RevokeStatement 
Dim value As Boolean 

value = instance.GrantOptionFor

instance.GrantOptionFor = value
public bool GrantOptionFor { get; set; }
public:
property bool GrantOptionFor {
    bool get ();
    void set (bool value);
}
member GrantOptionFor : bool with get, set
function get GrantOptionFor () : boolean 
function set GrantOptionFor (value : boolean)

Property Value

Type: System.Boolean
true if GRANT OPTION FOR is defined; otherwise, false.

See Also

Reference

RevokeStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace