ExceptionMessageBox.Buttons 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置要在消息框中显示的按钮。
public:
property Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons Buttons { Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons get(); void set(Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons value); };
public Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons Buttons { get; set; }
member this.Buttons : Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons with get, set
Public Property Buttons As ExceptionMessageBoxButtons
属性值
一个 ExceptionMessageBoxButtons 值。
注解
默认情况下,仅 OK 显示。
使用Custom时,必须在调用Show之前调用SetButtonText以设置按钮文本。