AvailabilityReplicaCollection.Remove Method (AvailabilityReplica)
Removes the first occurrence of an object replica from the Arraylist.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Remove ( _
availabilityReplica As AvailabilityReplica _
)
'Usage
Dim instance As AvailabilityReplicaCollection
Dim availabilityReplica As AvailabilityReplica
instance.Remove(availabilityReplica)
public void Remove(
AvailabilityReplica availabilityReplica
)
public:
void Remove(
AvailabilityReplica^ availabilityReplica
)
member Remove :
availabilityReplica:AvailabilityReplica -> unit
public function Remove(
availabilityReplica : AvailabilityReplica
)
Parameters
- availabilityReplica
Type: Microsoft.SqlServer.Management.Smo.AvailabilityReplica
The availability replica.