Partager via


DatabaseSectionNode.DefaultDatabase 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 or sets the default database connection to use when none is specified.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Design.dll)

Syntax

'Declaration
<ReferenceTypeAttribute(GetType(ConnectionStringSettingsNode))> _
<EditorAttribute(GetType(ReferenceEditor), GetType(UITypeEditor))> _
PublicPropertyDefaultDatabaseAs ConnectionStringSettingsNode
[ReferenceTypeAttribute(typeof(ConnectionStringSettingsNode))]
[EditorAttribute(typeof(ReferenceEditor), typeof(UITypeEditor))]
public ConnectionStringSettingsNode DefaultDatabase { get; set; }
[ReferenceTypeAttribute(typeof(ConnectionStringSettingsNode))]
[EditorAttribute(typeof(ReferenceEditor), typeof(UITypeEditor))]
public:
property ConnectionStringSettingsNode^ DefaultDatabase {
    ConnectionStringSettingsNode^ get ();
    voidset (ConnectionStringSettingsNode^ value);
}
publicfunction getDefaultDatabase () : ConnectionStringSettingsNode
publicfunction setDefaultDatabase (value : ConnectionStringSettingsNode)

Field Value

The default database connection to use when none is specified.

See Also

DatabaseSectionNode Class

Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Design 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.