Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Adds 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 Add ( _
DatabaseReplicaState As DatabaseReplicaState _
)
'Usage
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.