ServerPermissionSet Constructor (ServerPermission)
Initializes a new instance of the ServerPermissionSet class based on the specified permission.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
permission As ServerPermission _
)
'Uso
Dim permission As ServerPermission
Dim instance As New ServerPermissionSet(permission)
public ServerPermissionSet(
ServerPermission permission
)
public:
ServerPermissionSet(
ServerPermission^ permission
)
new :
permission:ServerPermission -> ServerPermissionSet
public function ServerPermissionSet(
permission : ServerPermission
)
Parámetros
- permission
Tipo: Microsoft.SqlServer.Management.Smo.ServerPermission
A ServerPermission 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 ServerPermissionSet
Espacio de nombres Microsoft.SqlServer.Management.Smo