Поделиться через


Класс PackageClass

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Represents a class for the Package interface.

Иерархия наследования

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageClass

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка:  Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)

Синтаксис

'Декларация
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("4555B0A5-E8D7-49BD-B299-3140C34D3769")> _
Public Class PackageClass _
    Implements Package, IDTSPackage100, IDTSPackageSigning100, IDTSContainer100,  _
    IDTSExecutable100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSSequence100, IDTSPropertiesProvider100,  _
    IDTSName100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100,  _
    IDTSDumpConfiguration100, IDTSConfigurationControl100, IDTSProjectPackage100
'Применение
Dim instance As PackageClass
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("4555B0A5-E8D7-49BD-B299-3140C34D3769")]
public class PackageClass : Package, 
    IDTSPackage100, IDTSPackageSigning100, IDTSContainer100, IDTSExecutable100, IDTSEventsProvider100, 
    IDTSExecutionMetrics100, IDTSSequence100, IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, 
    IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100, IDTSDumpConfiguration100, IDTSConfigurationControl100, 
    IDTSProjectPackage100
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"4555B0A5-E8D7-49BD-B299-3140C34D3769")]
public ref class PackageClass : Package, 
    IDTSPackage100, IDTSPackageSigning100, IDTSContainer100, IDTSExecutable100, IDTSEventsProvider100, 
    IDTSExecutionMetrics100, IDTSSequence100, IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, 
    IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100, IDTSDumpConfiguration100, IDTSConfigurationControl100, 
    IDTSProjectPackage100
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("4555B0A5-E8D7-49BD-B299-3140C34D3769")>]
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 
    end
public class PackageClass implements Package, IDTSPackage100, IDTSPackageSigning100, IDTSContainer100, IDTSExecutable100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSSequence100, IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100, IDTSDumpConfiguration100, IDTSConfigurationControl100, IDTSProjectPackage100

Тип PackageClass обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод PackageClass Инфраструктура. Initializes a new instance of the PackageClass class.

В начало

Свойства

  Имя Описание
Открытое свойство CertificateContext Инфраструктура. Gets or sets the context of the certificate associated with the package.
Открытое свойство CertificateObject Инфраструктура. Gets or sets the certificate object associated with the package.
Открытое свойство CheckpointFileName Инфраструктура. Gets or sets the name of the file that captures the checkpoint information, which enables a package to restart.
Открытое свойство CheckpointUsage Инфраструктура. Gets or sets a value that specifies if or when a package is restarted.
Открытое свойство CheckSignatureOnLoad Инфраструктура. Gets or sets a value that indicates whether the digital signature is checked when a package is loaded.
Открытое свойство Configurations Инфраструктура. Gets the collection of configurations for the package.
Открытое свойство Connections Инфраструктура. Gets the collection of connection managers for the package.
Открытое свойство CreationDate Инфраструктура. Gets or sets the date and time that the package was created.
Открытое свойство CreationName Инфраструктура. Gets the name used to create the PackageClass object.
Открытое свойство CreatorComputerName Инфраструктура. Gets or sets the name of the computer on which the package was created.
Открытое свойство CreatorName Инфраструктура. Gets or sets the name of the individual who created the package.
Открытое свойство DebugMode Инфраструктура. Gets or sets a value that indicates whether the package is in debug mode.
Открытое свойство DelayValidation Инфраструктура. Gets or sets a value that indicates whether package validation is delayed until the package runs.
Открытое свойство Description Инфраструктура. Gets or sets the description of the package.
Открытое свойство DesignEvents Инфраструктура. Gets or sets an IDTSEvents100 that indicates if the designer or other third party client is to receive events during design time.
Открытое свойство DesignTimeProperties Инфраструктура. Gets or sets the design time properties of a package such as layout information.
Открытое свойство Disable Инфраструктура. Gets or sets a value that indicates whether the PackageClass object is disabled.
Открытое свойство DisableEventHandlers Инфраструктура. Gets or sets a value that indicates whether the event handlers on the package are disabled.
Открытое свойство DumpDescriptor Инфраструктура. Gets or sets the dump descriptor for the package.
Открытое свойство DumpOnAnyError Инфраструктура. Gets or sets a value that indicates whether a dump file should be generated when any error occurs during package execution.
Открытое свойство EnableConfigurations Инфраструктура. Gets or sets a value that indicates whether the package loads configurations.
Открытое свойство EnableDump Инфраструктура. Gets or sets a value that indicates whether the dump file generation is enabled.
Открытое свойство EncryptCheckpoints Инфраструктура. Gets or sets a value that indicates whether the checkpoint files are encrypted.
Открытое свойство Errors Инфраструктура. Gets the collection of errors associated with the package.
Открытое свойство EventHandlers Инфраструктура. Gets a collection of event handler objects.
Открытое свойство EventInfos Инфраструктура. Gets the IDTSEventInfos100 collection that is associated with the package.
Открытое свойство Executables Инфраструктура. Gets the collection of executable objects contained within the package.
Открытое свойство ExecutionDuration Инфраструктура. Gets the amount of time that the package spent in execution, in milliseconds.
Открытое свойство ExecutionResult Инфраструктура. Gets a value that indicates the success or failure of the execution of the package.
Открытое свойство ExecutionStatus Инфраструктура. Gets the current status of the execution.
Открытое свойство ExtendedProperties Инфраструктура. Gets the IDTSExtendedProperties100 collection for the package.
Открытое свойство FailPackageOnFailure Инфраструктура. Gets or sets a value that indicates whether the package fails when a task or component in the package fails.
Открытое свойство FailParentOnFailure Инфраструктура. Gets or sets a value that indicates whether the parent package fails when a child package fails.
Открытое свойство ForcedExecutionValue Инфраструктура. If the ForceExecutionValue property is set to true, gets or sets a value that specifies the optional execution value that the package returns.
Открытое свойство ForceExecutionResult Инфраструктура. Gets or sets a DTSForcedExecResult enumeration value that specifies the forced execution result of the package.
Открытое свойство ForceExecutionValue Инфраструктура. Gets or sets a value that indicates whether the execution value of the package should be forced to contain a particular value.
Открытое свойство ID Инфраструктура. Gets the ID of the package.
Открытое свойство IDTSPackageSigning100_CertificateContext Инфраструктура. Gets or sets the certificate context.
Открытое свойство IDTSPackageSigning100_CertificateObject Инфраструктура. Gets or sets the certificate object.
Открытое свойство IDTSPackageSigning100_CheckSignatureOnLoad Инфраструктура. Gets or sets a value that indicates whether the package checks the signature on loading.
Открытое свойство IDTSSuspend100_SuspendRequired Инфраструктура. Gets or sets a value that indicates whether the task should suspend when they encounter a breakpoint.
Открытое свойство IgnoreConfigurationsOnLoad Инфраструктура. Gets or sets a value that indicates whether the package ignores configurations when the package is loaded.
Открытое свойство InteractiveMode Инфраструктура. Gets or sets a value that indicates whether the tasks should show user interface objects while executing.
Открытое свойство IsDefaultLocaleID Инфраструктура. Gets a value that indicates whether the package uses the default locale.
Открытое свойство IsolationLevel Инфраструктура. Gets or sets the isolation level of the transaction in the package.
Открытое свойство LastModifiedProductVersion Инфраструктура. Gets the product version of the last modified package.
Открытое свойство LocaleID Инфраструктура. Gets or sets the identifier of the locale used by a package.
Открытое свойство LogEntryInfos Инфраструктура. Gets a collection of log entry definitions.
Открытое свойство LoggingMode Инфраструктура. Gets or sets the logging mode of the package.
Открытое свойство LoggingOptions Инфраструктура. Gets the filtering and logging resource for the package.
Открытое свойство LogProviders Инфраструктура. Gets the collection of log providers associated with the package.
Открытое свойство MaxConcurrentExecutables Инфраструктура. Gets or sets the number of threads that a package can create.
Открытое свойство MaximumErrorCount Инфраструктура. Gets or sets the maximum number of errors that can occur before the package stops running.
Открытое свойство Name Инфраструктура. Gets or sets the name of the PackageClass.
Открытое свойство OfflineMode Инфраструктура. Gets or sets a value that indicates whether the package is working in offline mode.
Открытое свойство PackageFormatVersion Инфраструктура. Gets the format version of the package.
Открытое свойство PackageLocation Инфраструктура. Gets the location of the package.
Открытое свойство PackagePassword Инфраструктура. Sets the password for the package.
Открытое свойство PackagePriorityClass Инфраструктура. Gets or sets the Win32 thread priority class of the package thread.
Открытое свойство PackageType Инфраструктура. Gets or sets a value that identifies the tool that created the package.
Открытое свойство PackageUpgradeOptions Инфраструктура. Gets or sets the upgrade options for the package.
Открытое свойство Parent Инфраструктура. Gets the parent of the package.
Открытое свойство PrecedenceConstraints Инфраструктура. Gets a collection of precedence constraints for the package.
Открытое свойство Properties Инфраструктура. Gets a collection of properties for the package.
Открытое свойство ProtectionLevel Инфраструктура. Gets or sets the level of protection on the package.
Открытое свойство SafeRecursiveProjectPackageExecution Инфраструктура. Gets or sets a value that indicates whether recursive execution of the package is safe.
Открытое свойство SaveCheckpoints Инфраструктура. Gets or sets a value that indicates whether the package will use checkpoints during package execution.
Открытое свойство SQLFolder Инфраструктура. Gets or sets the SQL folder for the package.
Открытое свойство StartTime Инфраструктура. Gets the time when the package starts execution.
Открытое свойство StopTime Инфраструктура. Gets the time when the package stops execution.
Открытое свойство SuppressConfigurationWarnings Инфраструктура. Gets or sets a value that indicates whether the warnings generated by configurations are suppressed.
Открытое свойство SuspendRequired Инфраструктура. Gets or sets a value that indicates whether the tasks should suspend when they encounter a breakpoint.
Открытое свойство TransactionOption Инфраструктура. Gets or sets a DTSTransactionOption enumeration value that indicates whether the package participates in transaction.
Открытое свойство UpdateObjects Инфраструктура. Gets or sets a value that indicates whether the extensible objects can be updated at package load time if an updated version is found.
Открытое свойство UpdatePackage Инфраструктура. Gets or sets a value that indicates whether the packages can be updated when an updated version is found.
Открытое свойство VariableDispenser Инфраструктура. Gets the dispenser of the variables in the package.
Открытое свойство Variables Инфраструктура. Gets a collection that contains the variables associated with the package.
Открытое свойство VersionBuild Инфраструктура. Gets or sets the build version of the package.
Открытое свойство VersionComments Инфраструктура. Gets or sets the version comments associated with the package.
Открытое свойство VersionGUID Инфраструктура. Gets the version GUID generated when the package is first created.
Открытое свойство VersionMajor Инфраструктура. Gets or sets the major build version of the package.
Открытое свойство VersionMinor Инфраструктура. Gets or sets the minor build version of the package.
Открытое свойство Warnings Инфраструктура. Gets the collection of warnings set on the package.

В начало

Методы

  Имя Описание
Открытый метод AcceptBreakpointManager Инфраструктура. Passes a breakpoint manager to a package.
Открытый метод CheckSignature Инфраструктура. Checks the status of the digital signature of the package.
Открытый метод ComputeExpressions Инфраструктура. Computes the expression of this PackageClass object.
Открытый метод Equals (Производный от Object.)
Открытый метод Execute() Инфраструктура. Returns a DTSExecResult enumeration that contains information about the success or failure of the package execution.
Открытый метод Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object) Инфраструктура. Runs the application, container, or package as part of a package workflow.
Открытый метод ExportConfigurationFile Инфраструктура. Creates an XML file that contains all deployable variables in the package.
Защищенный метод Finalize (Производный от Object.)
Открытый метод FindReferencedObjects Инфраструктура. Returns a reference object enumeration.
Открытый метод GetBreakpointTargets Инфраструктура. Returns an IDTSBreakpointTargets100 collection. Depending on the setting of the onlyEnabled parameter, the collection contains all breakpoint targets in the package, or only enabled breakpoint targets.
Открытый метод GetExpression Инфраструктура. Returns a value that contains the expression for the specified property.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectFromPackagePath Инфраструктура. Returns an object from the specified package path.
Открытый метод GetParentID Инфраструктура. Retrieves the parent identifier of the package.
Открытый метод GetPreExecutionPackageXML Инфраструктура. Retrieves the pre-execution of a package XML.
Открытый метод GetProject Инфраструктура. Retrieves the DTS project.
Открытый метод GetType (Производный от Object.)
Открытый метод IDTSExecutable100_Execute Инфраструктура. Executes the executable.
Открытый метод IDTSExecutable100_Validate Инфраструктура. Verifies that the executable will successfully execute by validating all its dependencies and other items before executing it.
Открытый метод IDTSPackageSigning100_CheckSignature Инфраструктура. Checks the signature of the package.
Открытый метод IDTSPackageSigning100_LoadUserCertificateByHash Инфраструктура. Loads the user certificate using hash.
Открытый метод IDTSPackageSigning100_LoadUserCertificateByName Инфраструктура. Loads the user certificate by name.
Открытый метод IDTSSuspend100_ResumeExecution Инфраструктура. Resumes the execution of the task after pausing.
Открытый метод IDTSSuspend100_SuspendExecution Инфраструктура. Notifies that the executable needs to suspend.
Открытый метод ImportConfigurationFile Инфраструктура. Loads a configuration file associated with the package.
Открытый метод LoadFromXML Инфраструктура. Loads a package and all its objects that have been saved to memory in XML format.
Открытый метод LoadUserCertificateByHash Инфраструктура. Loads the user certificate using hash.
Открытый метод LoadUserCertificateByName Инфраструктура. Loads the user certificate by name.
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод PasswordMatch Инфраструктура. Determines whether the specified password matches with the package password.
Открытый метод PermitUnencryptedSave Инфраструктура. Permits the unencrypted information to save.
Открытый метод ProcessConfiguration Инфраструктура. Specifies the configuration information for a package and its objects.
Открытый метод RegenerateID Инфраструктура. Creates a new GUID for the package and updates the package ID property.
Открытый метод ResumeExecution Инфраструктура. Resumes the execution of the package after pausing.
Открытый метод SaveToXML Инфраструктура. Saves the package to memory in an XML format.
Открытый метод SetExpression Инфраструктура. Assigns the specified expression to the property.
Открытый метод SetProject Инфраструктура. Sets the specified project.
Открытый метод SuspendExecution Инфраструктура. Called when the executable needs to suspend. This method is called by the runtime engine.
Открытый метод ToString (Производный от Object.)
Открытый метод Validate Инфраструктура. Allows the package to determine if it contains invalid settings that will prevent it from executing successfully.

В начало

Замечания

For more information, see Package.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dts.Runtime.Wrapper