SQLServer.Database.StoredProcedure Object
Returns a list of Permission objects containing the privileges for this stored procedure.
PermissionList = StoredProcedure.ListPermissions ( [[PrivilegeTypes :=] tPrivileges] )
HRESULT pStoredProcedure->ListPermissions (
LPSQLOLEPERMISSIONLIST* ppPermissionList,
SQLOLE_PRIVILEGE_TYPE tPrivileges = SQLOLEPriv_Execute );
Element | Type | Description |
---|
PermissionList | PermissionList | Returned list of Permission objects |
tPrivileges | SQLOLE_PRIVILEGE_TYPE | Types of stored procedure privileges to list |
sp_helpprotect