Compartir a través de


LogOdbcDataSource Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The LogOdbcDataSource property specifies the name of the ODBC data source to which Microsoft Windows writes data during logging events.

Important

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

Attribute Name Attribute Value

XML Data Type

String

WMI Data Type

String

ADSI Data Type

String

ABO Data Type

String

ABO Metabase Identifier

MD_LOGSQL_DATA_SOURCES

Attributes

INHERIT

Default Value

httplog

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

4007

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/W3SVC/n

IIsWebServer

/LM/MSFTPSVC/n

IIsFtpServer

/LM/W3SVC

IIsWebService

/LM/MSFTPSVC

IIsFtpService

/LM/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.