Compartir a través de


Implicit Conversión (ServerPermission to ServerPermissionSet)

Transforms a single Server Permission to Server Permission Set.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Shared Widening Operator CType ( _
    permission As ServerPermission _
) As ServerPermissionSet
'Uso
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 admite el uso de conversiones personalizadas, pero no la declaración de otras nuevas.

Comentarios

The op_Implicit(ServerPermission) method is a implicit user-defined type conversion operator that converts a single Server Permission to a Server Permission Set.