EnumDependencies List

SQLServer.Database.Table Object

Description

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

Visual Basic

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

C++

HRESULT pTable->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