Share via


IVsDataProvider.ShortDisplayName Property

Gets a short 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 ShortDisplayName As String
string ShortDisplayName { get; }
property String^ ShortDisplayName {
    String^ get ();
}
abstract ShortDisplayName : string with get
function get ShortDisplayName () : String

Property Value

Type: System.String
A short display name of the DDEX provider.

Remarks

The short display name of a DDEX provider is a localized string that can be displayed by DDEX clients to end users when space is limited. One example of this usage is in the Data Connection dialog box. In this dialog box, the currently selected DDEX data source and the short name of the provider are concatenated together to produce a single string that represents the current selection.

This property determines the display name by calling the GetProperty method with the parameter ShortDisplayName 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 DisplayName property is returned.

Some examples of short display names for providers are as follows:

".NET Framework Data Provider for SQL Server" becomes "SqlClient"

".NET Framework Data Provider for Oracle" becomes "OracleClient"

".NET Framework Data Provider for OLE DB" becomes "OLE DB"

".NET Framework Data Provider for ODBC" becomes "ODBC"

.NET Framework Security

See Also

Reference

IVsDataProvider Interface

Microsoft.VisualStudio.Data.Core Namespace