Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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.