EnumDependencies List

SQLServer.Database.DBObject Object

Description

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

Visual Basic

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

C++

HRESULT pDBObject->EnumDependencies (
LPSQLOLEQUERYRESULTS*
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