共用方式為


LogOdbcDataSource

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

ms525593.alert_caution(en-us,VS.90).gifImportant Note:

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

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

STRING

ABO Data Type

STRING_METADATA

Schema Default

HTTPLOG

Internal Default

HTTPLOG

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

4007

Friendly ID

MD_LOGSQL_DATA_SOURCES

Property Attributes

INHERIT

User Type

IIS_MD_UT_SERVER

Configurable Locations

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

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/MSFTPSVC

IIsFtpService

/LM/W3SVC/n

IIsWebServer

/LM/MSFTPSVC/n

IIsFtpServer

/LM/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also