Delen via


AlterRoleStatement.Action Property

Gets or sets the alter role action.

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

Syntax

'Declaration
Public Property Action As AlterRoleAction 
    Get 
    Set
'Usage
Dim instance As AlterRoleStatement 
Dim value As AlterRoleAction 

value = instance.Action

instance.Action = value
public AlterRoleAction Action { get; set; }
public:
property AlterRoleAction^ Action {
    AlterRoleAction^ get ();
    void set (AlterRoleAction^ value);
}
member Action : AlterRoleAction with get, set
function get Action () : AlterRoleAction 
function set Action (value : AlterRoleAction)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.AlterRoleAction
The alter role action.

See Also

Reference

AlterRoleStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace