EnumDependencies List

SQLServer.Database Object

Description

Lists all user-created objects in the database in dependency order. These objects must be created in this order. List is returned in a QueryResults object.

Visual Basic

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

C++

HRESULT pDatabase->EnumDependencies (
LPSQLOLEQUERYRESULTS*
ppQueryResults, SQLOLE_DEPENDENCY_TYPE tDependency = SQLOLEDep_Parents );

Elements

Element Type Description

QueryResults QueryResults Returned QueryResults object
tDependency SQLOLE_DEPENDENCY_TYPE Dependency type

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