DatabaseRoleCollection.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 ( _
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.