Aracılığıyla paylaş


ObjectPermissionInfo Class

The ObjectPermissionInfo object represents information about a SQL Server object permission.

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

Syntax

'Bildirim
Public Class ObjectPermissionInfo
    Inherits PermissionInfo
public class ObjectPermissionInfo : PermissionInfo
public ref class ObjectPermissionInfo : public PermissionInfo
public class ObjectPermissionInfo extends PermissionInfo
public class ObjectPermissionInfo extends PermissionInfo

Remarks

The ObjectPermissionInfo object is returned by the EnumObjectPermissions method. It works in a similar way to the ServerPermissionInfo object and the EnumServerPermissions method shown in the example.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.PermissionInfo
    Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.