EnumDirectories List

SQLServer Object

Description

Lists directories on the SQL Server computer. List is returned in a QueryResults object.

Visual Basic

QueryResults = SQLServer.EnumDirectories ( [PathName :=] strPath )

C++

HRESULT pSQLServer->EnumDirectories (
SQLOLE_LPCSTR
strPath,
LPSQLOLEQUERYRESULTS*
ppQueryResults );

Elements

Element Type Description

QueryResults QueryResults Returned QueryResults object
strPath String Path name

QueryResults

ColumnName ColumnType

subdirectory SQLOLE_DTypeChar