Export (0) Print
Expand All

AvailabilityGroup Constructor (Server, String)

Initializes a new instance of the AvailabilityGroup class with the specified server and name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public AvailabilityGroup(
	Server server,
	string name
)

Parameters

server
Type: Microsoft.SqlServer.Management.Smo.Server
The instance of the SQL Server for availability group.
name
Type: String
The name of the availability group.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft