Share via


UserDefinedFunction.EnumColumnPermissions Method (String)

Enumerates a list of column permissions for a specified grantee on the user-defined function.

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

Syntax

'Declaration
Public Function EnumColumnPermissions ( _
    granteeName As String _
) As ObjectPermissionInfo()
'Usage
Dim instance As UserDefinedFunction 
Dim granteeName As String 
Dim returnValue As ObjectPermissionInfo()

returnValue = instance.EnumColumnPermissions(granteeName)
public ObjectPermissionInfo[] EnumColumnPermissions(
    string granteeName
)
public:
virtual array<ObjectPermissionInfo^>^ EnumColumnPermissions(
    String^ granteeName
) sealed
abstract EnumColumnPermissions : 
        granteeName:string -> ObjectPermissionInfo[] 
override EnumColumnPermissions : 
        granteeName:string -> ObjectPermissionInfo[] 
public final function EnumColumnPermissions(
    granteeName : String
) : ObjectPermissionInfo[]

Parameters

Return Value

Type: array<Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
An array of ObjectPermissionInfo objects that contains column permission information for the specified grantee on the user-defined function.

Implements

IColumnPermission.EnumColumnPermissions(String)

Examples

Calling Methods

See Also

Reference

UserDefinedFunction Class

EnumColumnPermissions Overload

Microsoft.SqlServer.Management.Smo Namespace