Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new server permission set by implicitly converting server permission.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
permission As ServerPermission _
) As ServerPermissionSet
'Usage
Dim input As ServerPermission
Dim output As ServerPermissionSet
output = CType(input, ServerPermissionSet)
public static implicit operator ServerPermissionSet (
ServerPermission permission
)
static implicit operator ServerPermissionSet^ (
ServerPermission^ permission
)
JScript supports the use of custom casts, but not the declaration of new ones.
Parameters
- permission
Type: Microsoft.SqlServer.Management.Smo.ServerPermission
The specified permission to create.
Return Value
Type: Microsoft.SqlServer.Management.Smo.ServerPermissionSet
The newly created server permission set.
Remarks
The op_Implicit(ServerPermission) method is a implicit user-defined type conversion operator that converts a single Server Permission to a Server Permission Set.