Aracılığıyla paylaş


DatabasePermission Implicit Conversion (DatabasePermission to DatabasePermissionSet)

Converts a single database permission object to a database permission set.

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

Syntax

'Bildirim
Public Shared Widening Operator CType ( _
    permission As DatabasePermission _
) As DatabasePermissionSet
'Kullanım
Dim input As DatabasePermission
Dim output As DatabasePermissionSet

output = CType(input, DatabasePermissionSet)
public static implicit operator DatabasePermissionSet (
    DatabasePermission permission
)
static implicit operator DatabasePermissionSet^ (
    DatabasePermission^ permission
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabasePermissionSet
A database DatabasePermissionSet value containing the DatabasePermission specified by the permission parameter.

See Also

Reference

DatabasePermission Class

Microsoft.SqlServer.Management.Smo Namespace