다음을 통해 공유


EnumObjectPermissions 메서드

Enumerates a list of object permissions for the SMO object.

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

구문

‘선언
Function EnumObjectPermissions As ObjectPermissionInfo()
‘사용 방법
Dim instance As IObjectPermission
Dim returnValue As ObjectPermissionInfo()

returnValue = instance.EnumObjectPermissions()
ObjectPermissionInfo[] EnumObjectPermissions()
array<ObjectPermissionInfo^>^ EnumObjectPermissions()
abstract EnumObjectPermissions : unit -> ObjectPermissionInfo[] 
function EnumObjectPermissions() : ObjectPermissionInfo[]

반환 값

유형: array<Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionInfo> [] () [] []
An array of ObjectPermissionInfo objects that contains object permission information for the SMO object.