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