Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AvailabilityGroup Constructor (Server, String)
Collapse the table of content
Expand the table of content

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.

Community Additions

ADD
Show:
© 2015 Microsoft