DbConnectionContext Constructor (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates a new instance of the DbConnectionContext class with connection information from the specified configuration section name.

Namespace:  System.Activities.Core
Assembly:  System.Activities.Core (in System.Activities.Core.dll)

Syntax

'Declaration
Public Sub New ( _
    configName As String _
)
'Usage
Dim configName As String

Dim instance As New DbConnectionContext(configName)
public DbConnectionContext(
    string configName
)
public:
DbConnectionContext(
    String^ configName
)
public function DbConnectionContext(
    configName : String
)
new : 
        configName:string -> DbConnectionContext

Parameters

  • configName
    Type: System.String
    The name of the configuration section that contains connection information.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

DbConnectionContext Class

DbConnectionContext Members

DbConnectionContext Overload

System.Activities.Core Namespace