Share via


RevokeStatement.GrantOptionFor Property

Gets or sets whether GRANT OPTION FOR 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 GrantOptionFor As Boolean
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
Returns true if GRANT OPTION FOR is defined, false otherwise.

.NET Framework Security

See Also

Reference

RevokeStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace