Bahasa

DeploymentPlanContributor Kelas

Definisi

Mewakili kontributor untuk proses penyebaran

public abstract class DeploymentPlanContributor : Microsoft.SqlServer.Dac.Deployment.DeploymentContributor
type DeploymentPlanContributor = class
    inherit DeploymentContributor
Public MustInherit Class DeploymentPlanContributor
Inherits DeploymentContributor
Warisan
DeploymentPlanContributor
Turunan

Konstruktor

Nama Deskripsi
DeploymentPlanContributor()

Mewakili kontributor untuk proses penyebaran

Properti

Nama Deskripsi
Canceled

Mendapatkan nilai yang menunjukkan apakah kontributor dibatalkan

(Diperoleh dari DeploymentContributor)
CancellationToken

yang CancellationToken digunakan untuk menunjukkan apakah eksekusi kontributor harus dibatalkan

(Diperoleh dari DeploymentContributor)

Metode

Nama Deskripsi
Cancel()

Membatalkan eksekusi kontributor

(Diperoleh dari DeploymentContributor)
Dispose()

Diwariskan dari Dispose()

(Diperoleh dari DeploymentContributor)
Dispose(Boolean)

Mewakili kontributor untuk proses penyebaran

(Diperoleh dari DeploymentContributor)
OnApplyDeploymentConfiguration(DeploymentContributorContext, ICollection<DeploymentContributorConfigurationStream>)

Dipanggil oleh proses penyebaran di DacFx untuk memberi kode Anda kesempatan untuk mengumpulkan informasi konfigurasi dari file yang disediakan. Di akhir metode, semua aliran akan dibuang. Kontributor yang perlu mendapatkan data dari aliran harus membaca dan menyimpan data selama metode ini - mencoba membaca dari aliran selama metode selanjutnya seperti OnExecute(DeploymentPlanContributorContext) metode akan gagal.

(Diperoleh dari DeploymentContributor)
OnEstablishDeploymentConfiguration(DeploymentContributorConfigurationSetup)

Dipanggil oleh proses build di DacFx untuk memberi kode Anda kesempatan untuk memodifikasi konfigurasi penyebaran.

(Diperoleh dari DeploymentContributor)
OnExecute(DeploymentPlanContributorContext)

Dipanggil oleh mesin penyebaran untuk memungkinkan kontributor kustom menjalankan tugas unik mereka

PublishMessage(ExtensibilityError)

Menerbitkan pesan ke mesin penyebaran. Mesin penyebaran akan memproses dan melaporkan pesan kepada konsumen.

(Diperoleh dari DeploymentContributor)

Berlaku untuk