Partager via


IVsDataConnectionDialog.ChooseSourceHeaderLabel Property

Gets or sets the text of the description that appears on the header of the Choose Data Source dialog box when it appears before the Add Connection dialog box.

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

Syntax

'Déclaration
Property ChooseSourceHeaderLabel As String
    Get
    Set
string ChooseSourceHeaderLabel { get; set; }
property String^ ChooseSourceHeaderLabel {
    String^ get ();
    void set (String^ value);
}
abstract ChooseSourceHeaderLabel : string with get, set
function get ChooseSourceHeaderLabel () : String
function set ChooseSourceHeaderLabel (value : String)

Property Value

Type: System.String
The string literal value of the header text.

Remarks

In some cases it can be useful to indicate to the user what the purpose of a dialog box is—that is, what information it is being retrieved and why. This property allows you to set the header text based on the context in which you are calling the dialog box.

An example value for this property could be "Choose a database type used to store your application data".

The default is no label.

.NET Framework Security

See Also

Reference

IVsDataConnectionDialog Interface

Microsoft.VisualStudio.Data.Services Namespace