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: String
The name of the database.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft