Dela via


ExceptionMessageBox.SetButtonText Method (String)

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use SetButtonText instead.

Namespace:  Microsoft.NetEnterpriseServers
Assembly:  Microsoft.NetEnterpriseServers.ExceptionMessageBox (in Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)

Syntax

'Declaration
Public Sub SetButtonText ( _
    button1Text As String _
)
'Usage
Dim instance As ExceptionMessageBox
Dim button1Text As String

instance.SetButtonText(button1Text)
public void SetButtonText(
    string button1Text
)
public:
void SetButtonText(
    String^ button1Text
)
member SetButtonText : 
        button1Text:string -> unit 
public function SetButtonText(
    button1Text : String
)

Parameters

  • button1Text
    Type: System.String
    Text for the first custom button.