ServerPermissionSet Constructor (ServerPermissionSet)
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 ( _
oServerPermissionSet As ServerPermissionSet _
)
'Uso
Dim oServerPermissionSet As ServerPermissionSet
Dim instance As New ServerPermissionSet(oServerPermissionSet)
public ServerPermissionSet(
ServerPermissionSet oServerPermissionSet
)
public:
ServerPermissionSet(
ServerPermissionSet^ oServerPermissionSet
)
new :
oServerPermissionSet:ServerPermissionSet -> ServerPermissionSet
public function ServerPermissionSet(
oServerPermissionSet : ServerPermissionSet
)
Parámetros
- oServerPermissionSet
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerPermissionSet
A ServerPermissionSet object that specifies a set of permissions.
Notas
The ServerPermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).