Leer en inglés

Compartir a través de


EnumObjectPermissions Método (ObjectPermissionSet)

Enumerates a list of object permissions for a specified permission on the table.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function EnumObjectPermissions ( _
    permissions As ObjectPermissionSet _
) As ObjectPermissionInfo()
'Uso
Dim instance As Table
Dim permissions As ObjectPermissionSet
Dim returnValue As ObjectPermissionInfo()

returnValue = instance.EnumObjectPermissions(permissions)

Parámetros

Valor devuelto

Tipo: array<Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionInfo> [] () [] []
An array of ObjectPermissionInfo objects that contains object permission information for the specified permission on the table.

Implementa

IObjectPermission. . :: . .EnumObjectPermissions(ObjectPermissionSet)