DatabaseReplicaStateCollection.Remove Method (DatabaseReplicaState)
Removes the specified database role to the collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Remove ( _
DatabaseReplicaState As DatabaseReplicaState _
)
'Usage
Dim instance As DatabaseReplicaStateCollection
Dim DatabaseReplicaState As DatabaseReplicaState
instance.Remove(DatabaseReplicaState)
public void Remove(
DatabaseReplicaState DatabaseReplicaState
)
public:
void Remove(
DatabaseReplicaState^ DatabaseReplicaState
)
member Remove :
DatabaseReplicaState:DatabaseReplicaState -> unit
public function Remove(
DatabaseReplicaState : DatabaseReplicaState
)
Parameters
- DatabaseReplicaState
Type: Microsoft.SqlServer.Management.Smo.DatabaseReplicaState
DatabaseReplicaState object.