Método DatabaseRoleCollection.Add
Adds the specified database role to the collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub Add ( _
databaseRole As DatabaseRole _
)
'Uso
Dim instance As DatabaseRoleCollection
Dim databaseRole As DatabaseRole
instance.Add(databaseRole)
public void Add(
DatabaseRole databaseRole
)
public:
void Add(
DatabaseRole^ databaseRole
)
member Add :
databaseRole:DatabaseRole -> unit
public function Add(
databaseRole : DatabaseRole
)
Parâmetros
- databaseRole
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseRole
DatabaseRole object.