DatabasePermissionSet Constructor (DatabasePermissionSet)
Initializes a new instance of the DatabasePermissionSet class.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
oDatabasePermissionSet As DatabasePermissionSet _
)
'Uso
Dim oDatabasePermissionSet As DatabasePermissionSet
Dim instance As New DatabasePermissionSet(oDatabasePermissionSet)
public DatabasePermissionSet(
DatabasePermissionSet oDatabasePermissionSet
)
public:
DatabasePermissionSet(
DatabasePermissionSet^ oDatabasePermissionSet
)
new :
oDatabasePermissionSet:DatabasePermissionSet -> DatabasePermissionSet
public function DatabasePermissionSet(
oDatabasePermissionSet : DatabasePermissionSet
)
Parámetros
- oDatabasePermissionSet
Tipo: Microsoft.SqlServer.Management.Smo.DatabasePermissionSet
A DatabasePermissionSet object that specifies a set of permissions.
Comentarios
The DatabasePermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).
Ejemplos
Conceder, revocar y denegar permisos
Vea también
Referencia
Sobrecarga de DatabasePermissionSet
Espacio de nombres Microsoft.SqlServer.Management.Smo