AvailabilityReplicaCollection.Add Method
Adds the availability replica in the server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
availabilityReplica As AvailabilityReplica _
)
'Usage
Dim instance As AvailabilityReplicaCollection
Dim availabilityReplica As AvailabilityReplica
instance.Add(availabilityReplica)
public void Add(
AvailabilityReplica availabilityReplica
)
public:
void Add(
AvailabilityReplica^ availabilityReplica
)
member Add :
availabilityReplica:AvailabilityReplica -> unit
public function Add(
availabilityReplica : AvailabilityReplica
)
Parameters
- availabilityReplica
Type: Microsoft.SqlServer.Management.Smo.AvailabilityReplica
The availability replica.