TX Text Control .NET for WPF

DataProviderName Property

Property|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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.");

Limitations

Read only.