共用方式為


ListStartupProcedures Method

未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。

The ListStartupProcedures method returns a SQLObjectList object that enumerates the stored procedures configured for automatic execution when the an instance of Microsoft SQL Server starts.

語法

object.ListStartupProcedures()asSQLObjectList

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT ListStartupProcedures(
LPSQLDMOSTOREDPROCEDURELIST* ppList);

Returns

A SQLObjectList object that contains 0 or more StoredProcedure objects.

Applies To: