Aracılığıyla paylaş


DatabaseReplicaStateCollection.Remove Method (String, String)

Removes a DatabaseReplicaState object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Sub Remove ( _
    replicaName As String, _
    name As String _
)
'Kullanım
Dim instance As DatabaseReplicaStateCollection
Dim replicaName As String
Dim name As String

instance.Remove(replicaName, name)
public void Remove(
    string replicaName,
    string name
)
public:
void Remove(
    String^ replicaName, 
    String^ name
)
member Remove : 
        replicaName:string * 
        name:string -> unit 
public function Remove(
    replicaName : String, 
    name : String
)

Parameters

See Also

Reference

DatabaseReplicaStateCollection Class

Remove Overload

Microsoft.SqlServer.Management.Smo Namespace