Partilhar via


Conversão Implicit (ServerPermission to ServerPermissionSet)

Transforms a single Server Permission to Server Permission Set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
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 dá suporte ao uso de casts personalizados, mas não à declaração de casts novos.

Comentários

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