DatabaseReplicaStateCollection.Remove 方法 (DatabaseReplicaState)
Removes the specified database role to the collection.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Remove ( _
DatabaseReplicaState As DatabaseReplicaState _
)
用法
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
)
参数
- DatabaseReplicaState
类型:Microsoft.SqlServer.Management.Smo.DatabaseReplicaState
DatabaseReplicaState object.