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
'宣言
Public MustOverride Property ChooseDataSourceAcceptText As String
'使用
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".
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.