ServerPermissionSet Constructor (array<ServerPermission )
Initializes a new instance of the ServerPermissionSet class based on the specified set of permissions.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
ParamArray permissions As ServerPermission() _
)
'Uso
Dim permissions As ServerPermission()
Dim instance As New ServerPermissionSet(permissions)
public ServerPermissionSet(
params ServerPermission[] permissions
)
public:
ServerPermissionSet(
... array<ServerPermission^>^ permissions
)
new :
permissions:ServerPermission[] -> ServerPermissionSet
public function ServerPermissionSet(
... permissions : ServerPermission[]
)
Parámetros
- permissions
Tipo: array<Microsoft.SqlServer.Management.Smo.ServerPermission[]
An array of ServerPermission objects that specify the set of permissions.
Ejemplos
Conceder, revocar y denegar permisos
Vea también
Referencia
Sobrecarga de ServerPermissionSet
Espacio de nombres Microsoft.SqlServer.Management.Smo