[This is preliminary documentation and subject to change]

### LogOdbcDataSource

This property specifies the name of the ODBC data source to which Microsoft Windows will write data during logging events.

Important The logging module's CLSID determines whether Microsoft Windows will log to an ODBC data source, or to the file system.

Attribute Name | Attribute Value
Data Type | STRING
Attributes | INHERIT
Default Value | HTTPLOG
MetaFlagsEx | CACHE_PROPERTY_MODIFIED
User Type | IIS_MD_UT_SERVER
StartingNumber |
EndingNumber |
ID | 4007

### Access Locations

This property is accessible at the following locations:

Metabase Path | IIS Admin Object Type
/LM/MSFTPSVC/Info/Templates/Public FTP Site | IIsFtpServer
/LM/MSFTPSVC | IIsFtpService
/LM/NNTPSVC/1 | IIsNntpServer
/LM/NNTPSVC | IIsNntpService
/LM/W3SVC/1 | IIsWebServer
/LM/W3SVC/2 | IIsWebServer
/LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer
/LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer
/LM/W3SVC | IIsWebService

### IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier | MD_LOGSQL_DATA_SOURCES
Data type | STRING
User type | IIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.