EnumAvailableMedia List

SQLServer Object

Description

Lists available media. List is returned in a QueryResults object.

Visual Basic

QueryResults = SQLServer.EnumAvailableMedia ( [[MediaType :=] tMedia] )

C++

HRESULT pSQLServer->EnumAvailableMedia (
LPSQLOLEQUERYRESULTS*
ppQueryResults,
SQLOLE_MEDIA_TYPE
tMedia = SQLOLEMedia_All );

Elements

Element Type Description

QueryResults QueryResults Returned QueryResults object
tMedia SQLOLE_MEDIA_TYPE Media type

QueryResults

ColumnName ColumnType

name SQLOLE_DTypeChar
low free SQLOLE_DTypeInt4
high free SQLOLE_DTypeInt4
media type SQLOLE_DTypeInt1