共用方式為


ExceptionMessageBox.Beep 屬性

Specifies whether to play an audible sound when the message is displayed.

命名空間:  Microsoft.SqlServer.MessageBox
組件:  Microsoft.ExceptionMessageBox (在 Microsoft.ExceptionMessageBox.dll 中)

語法

'宣告
Public Property Beep As Boolean 
    Get 
    Set
'用途
Dim instance As ExceptionMessageBox 
Dim value As Boolean 

value = instance.Beep

instance.Beep = value
public bool Beep { get; set; }
public:
property bool Beep {
    bool get ();
    void set (bool value);
}
member Beep : bool with get, set
function get Beep () : boolean 
function set Beep (value : boolean)

屬性值

型別:System.Boolean
A Boolean value.

備註

This property defaults to true.

請參閱

參考

ExceptionMessageBox 類別

Microsoft.SqlServer.MessageBox 命名空間