共用方式為


StoredProcedure.EnumObjectPermissions Method

Enumerates a list of object permissions for the stored procedure.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
StoredProcedure.EnumObjectPermissions ()
Enumerates a list of object permissions for the stored procedure.
StoredProcedure.EnumObjectPermissions (ObjectPermissionSet)
Enumerates a list of object permissions for a specified permission on the stored procedure.
StoredProcedure.EnumObjectPermissions (String)
Enumerates a list of object permissions for a specified grantee on the stored procedure.
StoredProcedure.EnumObjectPermissions (String, ObjectPermissionSet)
Enumerates a list of object permissions for a specified grantee and a specified permission on the stored procedure.

請參閱

參考

StoredProcedure Class
StoredProcedure Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Creating, Altering, and Removing Stored Procedures
CREATE PROCEDURE (Transact-SQL)