Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- sourceName
Specifies the data source.
- If
sourceNameis String.Empty and UseUI is set to true, then a call to this method will cause Data Source Manager to display the default source selection dialog. - If
sourceNameis String.Empty and UseUI is set to false, then the default Data Source will be opened. - If
sourceNameis a name of an existing Data Source, the specified Data Source will be opened.
- If
- applicationIdentity
An object representing the identity of the current application.
| Exception | Description |
|---|---|
| ImageGear.Core.ImGearException | Thrown if:
|
When an application is finished with the Data Source, call CloseSource to close the session between them.