EnumDependencies List

SQLServer.Database.StoredProcedure Object

Description

Lists the database objects that depend on this stored procedure, or database objects that this stored procedure depends on, in dependency order. List is returned in a QueryResults object.

Visual Basic

QueryResults = StoredProcedure.EnumDependencies (
[[DependencyType :=] tDependency] )

C++

HRESULT pStoredProcedure->EnumDependencies (
LPSQLOLEDBOBJECTLIST*
ppQueryResults,
SQLOLE_DEPENDENCY_TYPE
tDependency = SQLOLEDep_Parents );

Elements

Element Type Description

QueryResults QueryResults Returned QueryResults object
tDependency SQLOLE_DEPENDENCY_TYPE Type of dependencies to return

QueryResults

This method can return up to three results sets.

ColumnName ColumnType

oType SQLOLE_DTypeInt4
oRuleDefName SQLOLE_DTypeChar
oOwner SQLOLE_DTypeChar
oSequence SQLOLE_DTypeInt2

ColumnName ColumnType

oType SQLOLE_DTypeInt4
oUDDTName SQLOLE_DTypeChar
oOwner SQLOLE_DTypeChar
oSequence SQLOLE_DTypeInt2

ColumnName ColumnType

oType SQLOLE_DTypeInt4
oObjName SQLOLE_DTypeChar
oOwner SQLOLE_DTypeChar
oSequence SQLOLE_DTypeInt2