Share via


DataConnectionDialog.ChooseDataSourceAcceptText Property

Retrieves or sets text that shows on the Data Source dialog box Accept button when it appears before the Data Connection dialog box.

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

Syntax

'Declaration
Public MustOverride Property ChooseDataSourceAcceptText As String
public abstract string ChooseDataSourceAcceptText { get; set; }
public:
virtual property String^ ChooseDataSourceAcceptText {
    String^ get () abstract;
    void set (String^ value) abstract;
}
abstract ChooseDataSourceAcceptText : string with get, set
abstract function get ChooseDataSourceAcceptText () : String 
abstract function set ChooseDataSourceAcceptText (value : String)

Property Value

Type: System.String
Returns the string literal value of the Accept button text.

Remarks

This method allows customization of the accept (OK) button text in scenarios where differing context could change the sense of accepting.

The default is "OK".

.NET Framework Security

See Also

Reference

DataConnectionDialog Class

Microsoft.VisualStudio.Data Namespace