Dela via


LogOdbcUserName Metabase Property

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

The LogOdbcUserName property specifies the ODBC database user name to be used when writing information to the database during logging events.

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_USER_NAME

Attributes

INHERIT

Default Value

internetadmin

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

4009

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.