Metodo Add
Adds the specified database role to the collection.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub Add ( _
databaseRole As DatabaseRole _
)
'Utilizzo
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
)
Parametri
- databaseRole
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseRole
DatabaseRole object.
Vedere anche