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

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: String
The name of the database.

Community Additions

ADD
Show:
© 2015 Microsoft