Partager via


IVsDataProvider.DisplayName Property

Gets the display name of the DDEX provider.

Namespace:  Microsoft.VisualStudio.Data.Core
Assembly:  Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)

Syntax

'Declaration
ReadOnly Property DisplayName As String
string DisplayName { get; }
property String^ DisplayName {
    String^ get ();
}
abstract DisplayName : string with get
function get DisplayName () : String

Property Value

Type: System.String
The display name of the DDEX provider.

Remarks

The display name of a DDEX provider is a localized string that can be shown by DDEX clients to end users. One example of this usage is in the data connection Choose Data Source dialog box, where a DDEX data source and provider is selected by the user.

This property determines the display name by calling the GetProperty method with the parameter DisplayName to retrieve a string resource ID. It then calls the GetString method to retrieve the localized string that is associated with that resource ID. If no resource exists, the value of the Name property is returned.

".NET Framework Data Provider for SQL Server" is an example of a value for this property.

.NET Framework Security

See Also

Reference

IVsDataProvider Interface

Microsoft.VisualStudio.Data.Core Namespace