Delen via


AlterAvailabilityGroupStatement.Action Property

Gets or sets the action to take for the AlterAvailabilityGroupStatement.

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

Syntax

'Declaration
Public Property Action As AlterAvailabilityGroupAction 
    Get 
    Set
'Usage
Dim instance As AlterAvailabilityGroupStatement 
Dim value As AlterAvailabilityGroupAction 

value = instance.Action

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

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.AlterAvailabilityGroupAction
The action to take.

See Also

Reference

AlterAvailabilityGroupStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace