DatabaseReplicaStateCollection.Add 方法
Adds the specified database role to the collection.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
DatabaseReplicaState As DatabaseReplicaState _
)
'用途
Dim instance As DatabaseReplicaStateCollection
Dim DatabaseReplicaState As DatabaseReplicaState
instance.Add(DatabaseReplicaState)
public void Add(
DatabaseReplicaState DatabaseReplicaState
)
public:
void Add(
DatabaseReplicaState^ DatabaseReplicaState
)
member Add :
DatabaseReplicaState:DatabaseReplicaState -> unit
public function Add(
DatabaseReplicaState : DatabaseReplicaState
)
參數
- DatabaseReplicaState
型別:Microsoft.SqlServer.Management.Smo.DatabaseReplicaState
DatabaseReplicaState object.