다음을 통해 공유


ExceptionMessageBox.SetButtonText 메서드 (String)

Sets the text for the custom text button when only one button is displayed in the exception message box.

네임스페이스:  Microsoft.SqlServer.MessageBox
어셈블리:  Microsoft.ExceptionMessageBox(Microsoft.ExceptionMessageBox.dll)

구문

‘선언
Public Sub SetButtonText ( _
    button1Text As String _
)
‘사용 방법
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
)

매개 변수

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

참고 항목

참조

ExceptionMessageBox 클래스

SetButtonText 오버로드

Microsoft.SqlServer.MessageBox 네임스페이스