TechNet
Export (0) Print
Expand All

AvailabilityDatabase Constructor (AvailabilityGroup, String)

 

Initializes a new instance of the AvailabilityDatabase class with the specified name and availability group.

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

public AvailabilityDatabase(
	AvailabilityGroup availabilityGroup,
	string name
)

Parameters

availabilityGroup
Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroup

The availability group.

name
Type: System.String

The name of the database.

Return to top
Show:
© 2016 Microsoft