IColumnPermission.EnumColumnPermissions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnumColumnPermissions(String) |
Returns an array of Permission objects identifying explicitly granted column access permissions for the grantee specified with the granteeName parameter. |
EnumColumnPermissions(String, ObjectPermissionSet) |
Returns an array of Permission objects identifying explicitly granted column access permissions for the grantee specified with the granteeName parameter, restricted to the column access permissions specified with the privilegeTypes parameter. |
EnumColumnPermissions(String)
Returns an array of Permission objects identifying explicitly granted column access permissions for the grantee specified with the granteeName parameter.
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumColumnPermissions (string granteeName);
abstract member EnumColumnPermissions : string -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumColumnPermissions (granteeName As String) As ObjectPermissionInfo()
Parameters
- granteeName
- String
Returns
ObjectPermissionInfo[]
Applies to
EnumColumnPermissions(String, ObjectPermissionSet)
Returns an array of Permission objects identifying explicitly granted column access permissions for the grantee specified with the granteeName parameter, restricted to the column access permissions specified with the privilegeTypes parameter.
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumColumnPermissions (string granteeName, Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
abstract member EnumColumnPermissions : string * Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumColumnPermissions (granteeName As String, permissions As ObjectPermissionSet) As ObjectPermissionInfo()
Parameters
- granteeName
- String
- permissions
- ObjectPermissionSet
Returns
ObjectPermissionInfo[]