ExceptionMessageBox.Buttons Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan atau mengatur tombol untuk ditampilkan dalam kotak pesan.
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
Nilai Properti
Sebuah nilai ExceptionMessageBoxButtons.
Keterangan
Secara default, hanya OK yang ditampilkan.
Saat Anda menggunakan Custom, Anda harus memanggil SetButtonText untuk mengatur teks tombol sebelum memanggil Show.