AvailabilityGroupCollection.Add Method
Adds the specified availability group to the collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub Add ( _
availabilityGroup As AvailabilityGroup _
)
'Kullanım
Dim instance As AvailabilityGroupCollection
Dim availabilityGroup As AvailabilityGroup
instance.Add(availabilityGroup)
public void Add(
AvailabilityGroup availabilityGroup
)
public:
void Add(
AvailabilityGroup^ availabilityGroup
)
member Add :
availabilityGroup:AvailabilityGroup -> unit
public function Add(
availabilityGroup : AvailabilityGroup
)
Parameters
- availabilityGroup
Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The specified availability group to add to the collection.