Partilhar via


Implicit Conversão (ServerPermission to ServerPermissionSet)

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.