DatabaseReplicaStateCollection.Add Method
Adds the specified database role to the collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub Add ( _
DatabaseReplicaState As DatabaseReplicaState _
)
'Kullanım
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
)
Parameters
- DatabaseReplicaState
Type: Microsoft.SqlServer.Management.Smo.DatabaseReplicaState
DatabaseReplicaState object.