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
'Usage
Dim instance As DataConnectionDialog 
Dim value As String 

value = instance.ChooseDataSourceAcceptText

instance.ChooseDataSourceAcceptText = value
public abstract string ChooseDataSourceAcceptText { get; set; }
public:
virtual property String^ ChooseDataSourceAcceptText {
    String^ get () abstract;
    void set (String^ value) abstract;
}
public abstract function get ChooseDataSourceAcceptText () : String 
public 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

DataConnectionDialog Members

Microsoft.VisualStudio.Data Namespace