AvailabilityGroupStatement.Name Property

Gets or sets the availability group name.

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

Syntax

'Declaration
Public Property Name As Identifier 
    Get 
    Set
'Usage
Dim instance As AvailabilityGroupStatement 
Dim value As Identifier 

value = instance.Name

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

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.Identifier
The availability group name.

See Also

Reference

AvailabilityGroupStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace