ObjectPermission Implicit 转换 (ObjectPermission to ObjectPermissionSet)
Converts a single ObjectPermission to a ObjectPermissionSet.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Widening Operator CType ( _
permission As ObjectPermission _
) As ObjectPermissionSet
用法
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 支持使用自定义转换,但不支持声明新自定义转换。
参数
- permission
类型:Microsoft.SqlServer.Management.Smo.ObjectPermission
The permission object.
返回值
类型:Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
A single ObjectPermission to a ObjectPermission.