Partilhar via


Conversão Implicit (ObjectPermission to ObjectPermissionSet)

Converts a single ObjectPermission to a ObjectPermissionSet

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

Sintaxe

'Declaração
Public Shared Widening Operator CType ( _
    permission As ObjectPermission _
) As ObjectPermissionSet
'Uso
Dim input As ObjectPermission
Dim output As ObjectPermissionSet

output = CType(input, ObjectPermissionSet)
public static implicit operator ObjectPermissionSet (
    ObjectPermission permission
)
static implicit operator ObjectPermissionSet^ (
    ObjectPermission^ permission
)
JScript dá suporte ao uso de casts personalizados, mas não à declaração de casts novos.