Conversion Implicit (ObjectPermission to ObjectPermissionSet)
Converts a single ObjectPermission to a ObjectPermissionSet
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Widening Operator CType ( _
permission As ObjectPermission _
) As ObjectPermissionSet
'Utilisation
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 prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.
Paramètres
- permission
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermission
ObjectPermission
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionSet
ObjectPermissionSet