Creates a ConnectionOptions instance with the given name and options.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim name As String
Dim shouldConnect As Boolean
Dim dataSourceExtension As String
Dim entityServiceOption As IdeaBlade.EntityModel.EntityServiceOption
Dim compositionContextName As String
Dim serviceKey As String
Dim isDesignTime As Boolean
Dim instance As New ConnectionOptions(name, shouldConnect, dataSourceExtension, entityServiceOption, compositionContextName, serviceKey, isDesignTime) |
Parameters
- name
- The name of the ConnectionOptions.
- shouldConnect
- Specifies whether the EntityManager will attempt to connect to the EntityServer as soon as it is created.
- dataSourceExtension
- Specifies what run-time data source key(s) will be used.
- entityServiceOption
- Specifies whether you will be using local or distributed data sources.
- compositionContextName
- The name of the CompositionContext used to resolve dependencies and extensions.
- serviceKey
- Names the key providing the address of the application server with which the EntityManager will communicate.
- isDesignTime
- Specifies whether this ConnectionOptions instance is for design time.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also