PackageClass 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示 Package 介面的類別。
public ref class PackageClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConfigurationControl100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSContainer100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSDumpConfiguration100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventsProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutionMetrics100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageSigning100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSProjectPackage100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPropertiesProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSSequence100, Microsoft::SqlServer::Dts::Runtime::Wrapper::Package
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("6FB1D19E-B035-424C-B74D-EEE266E4D322")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class PackageClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConfigurationControl100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSDumpConfiguration100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageSigning100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProjectPackage100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Package
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("7B49F131-7EA3-4109-9E30-4ACCC4A00E25")]
public class PackageClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConfigurationControl100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSDumpConfiguration100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageSigning100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProjectPackage100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Package
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("6E8597AE-3486-4838-A8E0-F5C683618DF4")]
public class PackageClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConfigurationControl100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSDumpConfiguration100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageSigning100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProjectPackage100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Package
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("6FB1D19E-B035-424C-B74D-EEE266E4D322")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type PackageClass = class
interface Package
interface IDTSPackage100
interface IDTSPackageSigning100
interface IDTSContainer100
interface IDTSExecutable100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSSequence100
interface IDTSPropertiesProvider100
interface IDTSName100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSDumpConfiguration100
interface IDTSConfigurationControl100
interface IDTSProjectPackage100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("7B49F131-7EA3-4109-9E30-4ACCC4A00E25")>]
type PackageClass = class
interface Package
interface IDTSPackage100
interface IDTSPackageSigning100
interface IDTSContainer100
interface IDTSExecutable100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSSequence100
interface IDTSPropertiesProvider100
interface IDTSName100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSDumpConfiguration100
interface IDTSConfigurationControl100
interface IDTSProjectPackage100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("6E8597AE-3486-4838-A8E0-F5C683618DF4")>]
type PackageClass = class
interface Package
interface IDTSPackage100
interface IDTSPackageSigning100
interface IDTSContainer100
interface IDTSExecutable100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSSequence100
interface IDTSPropertiesProvider100
interface IDTSName100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSDumpConfiguration100
interface IDTSConfigurationControl100
interface IDTSProjectPackage100
Public Class PackageClass
Implements IDTSBreakpointSite100, IDTSConfigurationControl100, IDTSContainer100, IDTSDumpConfiguration100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSName100, IDTSPackageSigning100, IDTSPersist100, IDTSProjectPackage100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSSequence100, Package
- 繼承
-
PackageClass
- 屬性
- 實作
-
IDTSBreakpointSite100 IDTSConfigurationControl100 IDTSContainer100 IDTSDumpConfiguration100 IDTSEventsProvider100 IDTSExecutable100 IDTSExecutionMetrics100 IDTSName100 IDTSPackage100 IDTSPackageSigning100 IDTSPersist100 IDTSProjectPackage100 IDTSPropertiesProvider100 IDTSRuntimeObject100 IDTSSequence100 IDTSSuspend100 Package
備註
如需詳細資訊,請參閱Package。
建構函式
PackageClass() |
初始化 PackageClass 類別的新執行個體。 |
屬性
CertificateContext |
取得或設定與封裝相關聯的憑證內容。 |
CertificateObject |
取得或設定與封裝相關聯的憑證物件。 |
CheckpointFileName |
取得或設定檔案名稱,這個檔案會擷取可讓封裝重新啟動的檢查點資訊。 |
CheckpointUsage |
取得或設定值,這個值指定封裝是否會重新啟動或何時會重新啟動。 |
CheckSignatureOnLoad |
取得或設定值,指出是否要在載入封裝時檢查數位簽章。 |
Configurations |
取得封裝的組態集合。 |
Connections |
取得封裝的連接管理員集合。 |
CreationDate |
取得或設定建立封裝的日期和時間。 |
CreationName |
取得用來建立 PackageClass 物件的名稱。 |
CreatorComputerName |
取得或設定用來建立封裝的電腦名稱。 |
CreatorName |
取得或設定建立封裝的人員名稱。 |
DebugMode |
取得或設定值,指出封裝是否處於偵錯模式。 |
DelayValidation |
取得或設定值,指出是否要延遲至封裝執行後才驗證封裝。 |
Description |
取得或設定封裝的描述。 |
DesignEvents |
取得或設定 IDTSEvents100,指出設計工具或其他協力廠商的用戶端是否會在設計階段期間接收事件。 |
DesignTimeProperties |
取得或設定封裝的設計階段屬性,例如配置資訊。 |
Disable |
取得或設定值,指出是否要停用 PackageClass 物件。 |
DisableEventHandlers |
取得或設定值,指出是否已停用封裝上的事件處理常式。 |
DumpDescriptor |
取得或設定封裝的傾印描述項。 |
DumpOnAnyError |
取得或設定值,這個值表示是否應在封裝執行期間發生任何錯誤時產生傾印檔案。 |
EnableConfigurations |
取得或設定值,這個值表示封裝是否會載入組態。 |
EnableDump |
取得或設定值,這個值指出是否已啟用傾印檔案產生。 |
EncryptCheckpoints |
取得或設定值,這個值表示是否加密檢查點。 |
Errors |
取得與封裝相關聯的錯誤集合。 |
EventHandlers |
取得事件處理常式物件的集合。 |
EventInfos |
取得與封裝相關聯的 IDTSEventInfos100 集合。 |
Executables |
取得包含在封裝中的可執行物件集合。 |
ExecutionDuration |
取得封裝花在執行的時間長度 (以毫秒為單位)。 |
ExecutionResult |
取得值,指出封裝執行成功或失敗。 |
ExecutionStatus |
取得執行的目前狀態。 |
ExtendedProperties |
取得封裝的 IDTSExtendedProperties100 集合。 |
FailPackageOnFailure |
取得或設定值,這個值表示當封裝中的工作或元件失敗時,封裝是否會失敗。 |
FailParentOnFailure |
取得或設定值,指出子封裝失敗時,父封裝是否也失敗。 |
ForcedExecutionValue |
如果 ForceExecutionValue 屬性設定為 true,則取得或設定值,這個值會指定封裝所傳回的選擇性執行值。 |
ForceExecutionResult |
取得或設定指定封裝強制執行結果的 DTSForcedExecResult 列舉值。 |
ForceExecutionValue |
取得或設定值,指出封裝的執行值是否應該強制包含特定值。 |
ID |
取得封裝的識別碼。 |
IDTSPackageSigning100_CertificateContext |
取得或設定憑證內容。 |
IDTSPackageSigning100_CertificateObject |
取得或設定憑證物件。 |
IDTSPackageSigning100_CheckSignatureOnLoad |
取得或設定值,指出封裝是否在載入時檢查簽章。 |
IDTSSuspend100_SuspendRequired |
取得或設定值,指出當工作遇到中斷點時是否應該暫停。 |
IgnoreConfigurationsOnLoad |
取得或設定值,這個值表示封裝是否會在載入時忽略組態。 |
InteractiveMode |
取得或設定值,這個值表示工作執行時是否應該顯示使用者介面物件。 |
IsDefaultLocaleID |
取得值,指出封裝是否使用預設地區設定。 |
IsolationLevel |
取得或設定封裝中的交易隔離等級。 |
LastModifiedProductVersion |
取得上次修改之封裝的產品版本。 |
LocaleID |
取得或設定封裝所使用之地區設定的識別碼。 |
LogEntryInfos |
取得記錄項目定義的集合。 |
LoggingMode |
取得或設定封裝的記錄模式。 |
LoggingOptions |
取得封裝的篩選和記錄資源。 |
LogProviders |
取得與封裝相關聯的記錄提供者集合。 |
MaxConcurrentExecutables |
取得或設定封裝可以建立的執行緒數目。 |
MaximumErrorCount |
取得或設定封裝停止執行之前,可以發生的錯誤數目上限。 |
Name |
取得或設定 PackageClass 的名稱。 |
OfflineMode |
取得或設定值,這個值表示封裝是否在離線模式工作。 |
PackageFormatVersion |
取得封裝的格式版本。 |
PackageLocation |
取得封裝的位置。 |
PackagePassword |
設定封裝的密碼。 |
PackagePriorityClass |
取得或設定封裝執行緒的 Win32 執行緒優先權等級。 |
PackageType |
取得或設定值,這個值可識別建立封裝的工具。 |
PackageUpgradeOptions |
取得或設定封裝的升級選項。 |
Parent |
取得封裝的父系。 |
PrecedenceConstraints |
取得封裝的優先順序條件約束集合。 |
Properties |
取得封裝的屬性集合。 |
ProtectionLevel |
取得或設定封裝的保護等級。 |
SafeRecursiveProjectPackageExecution |
取得或設定值,該值指出遞迴執行封裝是否安全。 |
SaveCheckpoints |
取得或設定值,這個值表示封裝在執行封裝期間是否使用檢查點。 |
SQLFolder |
取得或設定封裝的 SQL 資料夾。 |
StartTime |
取得封裝開始執行的時間。 |
StopTime |
取得封裝停止執行的時間。 |
SuppressConfigurationWarnings |
取得或設定值,這個值表示是否會隱藏組態所產生的警告。 |
SuspendRequired |
取得或設定值,指出當工作遇到中斷點時是否應該暫停。 |
TransactionOption |
取得或設定 DTSTransactionOption 列舉值,指出封裝是否參與交易。 |
UpdateObjects |
取得或設定值,指出如果找到更新版本,是否會在封裝載入時間更新可延伸的物件。 |
UpdatePackage |
取得或設定值,指出如果找到更新版本,是否可更新封裝。 |
VariableDispenser |
取得封裝中變數的分配程式。 |
Variables |
取得集合,其中包含與封裝相關聯的變數。 |
VersionBuild |
取得或設定封裝的組建版本。 |
VersionComments |
取得或設定與封裝相關的版本註解。 |
VersionGUID |
取得第一次建立封裝時產生的版本 GUID。 |
VersionMajor |
取得或設定封裝的主要組建版本。 |
VersionMinor |
取得或設定封裝的次要組建版本。 |
Warnings |
取得封裝上設定的警告集合。 |