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

'宣言
Property ChooseSourceHeaderLabel As String
'使用
Dim instance As IVsDataConnectionDialog
Dim value As String

value = instance.ChooseSourceHeaderLabel

instance.ChooseSourceHeaderLabel = value
string ChooseSourceHeaderLabel { get; set; }
property String^ ChooseSourceHeaderLabel {
    String^ get ();
    void set (String^ value);
}
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.

Permissions

See Also

Reference

IVsDataConnectionDialog Interface

IVsDataConnectionDialog Members

Microsoft.VisualStudio.Data.Services Namespace