EnumObjectPermissions 메서드 (ObjectPermissionSet)
Enumerates a list of object permissions for a specified permission on the SMO object.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Function EnumObjectPermissions ( _
permissions As ObjectPermissionSet _
) As ObjectPermissionInfo()
‘사용 방법
Dim instance As IObjectPermission
Dim permissions As ObjectPermissionSet
Dim returnValue As ObjectPermissionInfo()
returnValue = instance.EnumObjectPermissions(permissions)
ObjectPermissionInfo[] EnumObjectPermissions(
ObjectPermissionSet permissions
)
array<ObjectPermissionInfo^>^ EnumObjectPermissions(
ObjectPermissionSet^ permissions
)
abstract EnumObjectPermissions :
permissions:ObjectPermissionSet -> ObjectPermissionInfo[]
function EnumObjectPermissions(
permissions : ObjectPermissionSet
) : ObjectPermissionInfo[]
매개 변수
- permissions
유형: Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionSet
An ObjectPermissionSet value that specifies the permission.
반환 값
유형: array<Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionInfo> [] () [] []
An array of ObjectPermissionInfo objects that contains object permission information for the specified permission on the SMO object.