Метод UserDefinedFunction.EnumColumnPermissions (String)
Enumerates a list of column permissions for a specified grantee on the user-defined function.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Function EnumColumnPermissions ( _
granteeName As String _
) As ObjectPermissionInfo()
'Применение
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[]
Параметры
- granteeName
Тип: System.String
A String value that specifies the grantee.
Возвращаемое значение
Тип: 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.
Реализует
IColumnPermission.EnumColumnPermissions(String)