다음을 통해 공유


ToObjectPermissionSet 메서드

Converts an object permission into an object permission set.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Shared Function ToObjectPermissionSet ( _
    permission As ObjectPermission _
) As ObjectPermissionSet
‘사용 방법
Dim permission As ObjectPermission
Dim returnValue As ObjectPermissionSet

returnValue = ObjectPermission.ToObjectPermissionSet(permission)
public static ObjectPermissionSet ToObjectPermissionSet(
    ObjectPermission permission
)
public:
static ObjectPermissionSet^ ToObjectPermissionSet(
    ObjectPermission^ permission
)
static member ToObjectPermissionSet : 
        permission:ObjectPermission -> ObjectPermissionSet 
public static function ToObjectPermissionSet(
    permission : ObjectPermission
) : ObjectPermissionSet

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionSet
An ObjectPermissionSet object that specifies a set of object permissions.