DatabasePermissionSet Constructor (DatabasePermission)
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 ( _
permission As DatabasePermission _
)
'Uso
Dim permission As DatabasePermission
Dim instance As New DatabasePermissionSet(permission)
public DatabasePermissionSet(
DatabasePermission permission
)
public:
DatabasePermissionSet(
DatabasePermission^ permission
)
new :
permission:DatabasePermission -> DatabasePermissionSet
public function DatabasePermissionSet(
permission : DatabasePermission
)
Parámetros
- permission
Tipo: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies a single permission for a set of permissions with a single member.
Ejemplos
Conceder, revocar y denegar permisos
Vea también
Referencia
Sobrecarga de DatabasePermissionSet
Espacio de nombres Microsoft.SqlServer.Management.Smo