Compartir a través de


DatabaseReplicaStateCollection.Add Método

Adds the specified database role to the collection.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub Add ( _
    DatabaseReplicaState As DatabaseReplicaState _
)
'Uso
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
)

Parámetros

Vea también

Referencia

DatabaseReplicaStateCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo