Partager via


FormattedDatabaseTraceListenerData.DatabaseInstanceName Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets and sets the database instance name.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging.Database (in Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("databaseInstanceName", IsRequired := False)> _
PublicPropertyDatabaseInstanceNameAs String
[ConfigurationPropertyAttribute("databaseInstanceName", IsRequired = false)]
public string DatabaseInstanceName { get; set; }
[ConfigurationPropertyAttribute(L"databaseInstanceName", IsRequired = false)]
public:
property String^ DatabaseInstanceName {
    String^ get ();
    voidset (String^ value);
}
publicfunction getDatabaseInstanceName () : String
publicfunction setDatabaseInstanceName (value : String)

See Also

FormattedDatabaseTraceListenerData Class

Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.