Método View.EnumColumnPermissions (String)
Enumerates a list of column permissions for a specified grantee on the view.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Function EnumColumnPermissions ( _
granteeName As String _
) As ObjectPermissionInfo()
'Uso
Dim instance As View
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[]
Parâmetros
- granteeName
Tipo: System.String
A String value that specifies the grantee.
Valor de retorno
Tipo: array<Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
An array of ObjectPermissionInfo objects that contains column permission information for the specified grantee on the view.
Implementa
IColumnPermission.EnumColumnPermissions(String)
Exemplos
Criando, alterando e removendo exibições
Consulte também
Referência
Sobrecarregado EnumColumnPermissions
Namespace Microsoft.SqlServer.Management.Smo