Méthode AvailabilityGroupCollection.Add
Adds the specified availability group to the collection.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
availabilityGroup As AvailabilityGroup _
)
'Utilisation
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
)
Paramètres
- availabilityGroup
Type : Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The specified availability group to add to the collection.