ConnectionString Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Gets the connection string of the connection selected with the DatabaseConnectionDialog. If no data connection was selected, this property returns an empty string.
Syntax
public string ConnectionString { get; }Public ReadOnly Property ConnectionString As StringExamples
The following example includes the connection string value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Connection String: {dataSourceManager.ConnectionString}");
Console.WriteLine("Data Source Manager is ready for use.");Console.WriteLine($"Connection String: {dataSourceManager.ConnectionString}")
Console.WriteLine("Data Source Manager is ready for use.")Limitations
Read only.