Conversione Implicit (ObjectPermission to ObjectPermissionSet)

Converts a single ObjectPermission to a ObjectPermissionSet

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Shared Widening Operator CType ( _
    permission As ObjectPermission _
) As ObjectPermissionSet
'Utilizzo
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 supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.