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: System.String

The name of the availability group.

Return to top
Show: