Construtor ServerPermissionSet (array<ServerPermission )
Initializes a new instance of the ServerPermissionSet class based on the specified set of permissions.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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.
Exemplos
Concedendo, revogando e negando permissões
Consulte também
Referência
Sobrecarregado ServerPermissionSet
Namespace Microsoft.SqlServer.Management.Smo