Classe PackageClass
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Represents a class for the Package interface.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageClass
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
<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
'Uso
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
O tipo PackageClass expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
PackageClass | Infraestrutura. Initializes a new instance of the PackageClass class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
CertificateContext | Infraestrutura. Gets or sets the context of the certificate associated with the package. | |
CertificateObject | Infraestrutura. Gets or sets the certificate object associated with the package. | |
CheckpointFileName | Infraestrutura. Gets or sets the name of the file that captures the checkpoint information, which enables a package to restart. | |
CheckpointUsage | Infraestrutura. Gets or sets a value that specifies if or when a package is restarted. | |
CheckSignatureOnLoad | Infraestrutura. Gets or sets a value that indicates whether the digital signature is checked when a package is loaded. | |
Configurations | Infraestrutura. Gets the collection of configurations for the package. | |
Connections | Infraestrutura. Gets the collection of connection managers for the package. | |
CreationDate | Infraestrutura. Gets or sets the date and time that the package was created. | |
CreationName | Infraestrutura. Gets the name used to create the PackageClass object. | |
CreatorComputerName | Infraestrutura. Gets or sets the name of the computer on which the package was created. | |
CreatorName | Infraestrutura. Gets or sets the name of the individual who created the package. | |
DebugMode | Infraestrutura. Gets or sets a value that indicates whether the package is in debug mode. | |
DelayValidation | Infraestrutura. Gets or sets a value that indicates whether package validation is delayed until the package runs. | |
Description | Infraestrutura. Gets or sets the description of the package. | |
DesignEvents | Infraestrutura. Gets or sets an IDTSEvents100 that indicates if the designer or other third party client is to receive events during design time. | |
DesignTimeProperties | Infraestrutura. Gets or sets the design time properties of a package such as layout information. | |
Disable | Infraestrutura. Gets or sets a value that indicates whether the PackageClass object is disabled. | |
DisableEventHandlers | Infraestrutura. Gets or sets a value that indicates whether the event handlers on the package are disabled. | |
DumpDescriptor | Infraestrutura. Gets or sets the dump descriptor for the package. | |
DumpOnAnyError | Infraestrutura. Gets or sets a value that indicates whether a dump file should be generated when any error occurs during package execution. | |
EnableConfigurations | Infraestrutura. Gets or sets a value that indicates whether the package loads configurations. | |
EnableDump | Infraestrutura. Gets or sets a value that indicates whether the dump file generation is enabled. | |
EncryptCheckpoints | Infraestrutura. Gets or sets a value that indicates whether the checkpoint files are encrypted. | |
Errors | Infraestrutura. Gets the collection of errors associated with the package. | |
EventHandlers | Infraestrutura. Gets a collection of event handler objects. | |
EventInfos | Infraestrutura. Gets the IDTSEventInfos100 collection that is associated with the package. | |
Executables | Infraestrutura. Gets the collection of executable objects contained within the package. | |
ExecutionDuration | Infraestrutura. Gets the amount of time that the package spent in execution, in milliseconds. | |
ExecutionResult | Infraestrutura. Gets a value that indicates the success or failure of the execution of the package. | |
ExecutionStatus | Infraestrutura. Gets the current status of the execution. | |
ExtendedProperties | Infraestrutura. Gets the IDTSExtendedProperties100 collection for the package. | |
FailPackageOnFailure | Infraestrutura. Gets or sets a value that indicates whether the package fails when a task or component in the package fails. | |
FailParentOnFailure | Infraestrutura. Gets or sets a value that indicates whether the parent package fails when a child package fails. | |
ForcedExecutionValue | Infraestrutura. If the ForceExecutionValue property is set to true, gets or sets a value that specifies the optional execution value that the package returns. | |
ForceExecutionResult | Infraestrutura. Gets or sets a DTSForcedExecResult enumeration value that specifies the forced execution result of the package. | |
ForceExecutionValue | Infraestrutura. Gets or sets a value that indicates whether the execution value of the package should be forced to contain a particular value. | |
ID | Infraestrutura. Gets the ID of the package. | |
IDTSPackageSigning100_CertificateContext | Infraestrutura. Gets or sets the certificate context. | |
IDTSPackageSigning100_CertificateObject | Infraestrutura. Gets or sets the certificate object. | |
IDTSPackageSigning100_CheckSignatureOnLoad | Infraestrutura. Gets or sets a value that indicates whether the package checks the signature on loading. | |
IDTSSuspend100_SuspendRequired | Infraestrutura. Gets or sets a value that indicates whether the task should suspend when they encounter a breakpoint. | |
IgnoreConfigurationsOnLoad | Infraestrutura. Gets or sets a value that indicates whether the package ignores configurations when the package is loaded. | |
InteractiveMode | Infraestrutura. Gets or sets a value that indicates whether the tasks should show user interface objects while executing. | |
IsDefaultLocaleID | Infraestrutura. Gets a value that indicates whether the package uses the default locale. | |
IsolationLevel | Infraestrutura. Gets or sets the isolation level of the transaction in the package. | |
LastModifiedProductVersion | Infraestrutura. Gets the product version of the last modified package. | |
LocaleID | Infraestrutura. Gets or sets the identifier of the locale used by a package. | |
LogEntryInfos | Infraestrutura. Gets a collection of log entry definitions. | |
LoggingMode | Infraestrutura. Gets or sets the logging mode of the package. | |
LoggingOptions | Infraestrutura. Gets the filtering and logging resource for the package. | |
LogProviders | Infraestrutura. Gets the collection of log providers associated with the package. | |
MaxConcurrentExecutables | Infraestrutura. Gets or sets the number of threads that a package can create. | |
MaximumErrorCount | Infraestrutura. Gets or sets the maximum number of errors that can occur before the package stops running. | |
Name | Infraestrutura. Gets or sets the name of the PackageClass. | |
OfflineMode | Infraestrutura. Gets or sets a value that indicates whether the package is working in offline mode. | |
PackageFormatVersion | Infraestrutura. Gets the format version of the package. | |
PackageLocation | Infraestrutura. Gets the location of the package. | |
PackagePassword | Infraestrutura. Sets the password for the package. | |
PackagePriorityClass | Infraestrutura. Gets or sets the Win32 thread priority class of the package thread. | |
PackageType | Infraestrutura. Gets or sets a value that identifies the tool that created the package. | |
PackageUpgradeOptions | Infraestrutura. Gets or sets the upgrade options for the package. | |
Parent | Infraestrutura. Gets the parent of the package. | |
PrecedenceConstraints | Infraestrutura. Gets a collection of precedence constraints for the package. | |
Properties | Infraestrutura. Gets a collection of properties for the package. | |
ProtectionLevel | Infraestrutura. Gets or sets the level of protection on the package. | |
SafeRecursiveProjectPackageExecution | Infraestrutura. Gets or sets a value that indicates whether recursive execution of the package is safe. | |
SaveCheckpoints | Infraestrutura. Gets or sets a value that indicates whether the package will use checkpoints during package execution. | |
SQLFolder | Infraestrutura. Gets or sets the SQL folder for the package. | |
StartTime | Infraestrutura. Gets the time when the package starts execution. | |
StopTime | Infraestrutura. Gets the time when the package stops execution. | |
SuppressConfigurationWarnings | Infraestrutura. Gets or sets a value that indicates whether the warnings generated by configurations are suppressed. | |
SuspendRequired | Infraestrutura. Gets or sets a value that indicates whether the tasks should suspend when they encounter a breakpoint. | |
TransactionOption | Infraestrutura. Gets or sets a DTSTransactionOption enumeration value that indicates whether the package participates in transaction. | |
UpdateObjects | Infraestrutura. 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 | Infraestrutura. Gets or sets a value that indicates whether the packages can be updated when an updated version is found. | |
VariableDispenser | Infraestrutura. Gets the dispenser of the variables in the package. | |
Variables | Infraestrutura. Gets a collection that contains the variables associated with the package. | |
VersionBuild | Infraestrutura. Gets or sets the build version of the package. | |
VersionComments | Infraestrutura. Gets or sets the version comments associated with the package. | |
VersionGUID | Infraestrutura. Gets the version GUID generated when the package is first created. | |
VersionMajor | Infraestrutura. Gets or sets the major build version of the package. | |
VersionMinor | Infraestrutura. Gets or sets the minor build version of the package. | |
Warnings | Infraestrutura. Gets the collection of warnings set on the package. |
Início
Métodos
Nome | Descrição | |
---|---|---|
AcceptBreakpointManager | Infraestrutura. Passes a breakpoint manager to a package. | |
CheckSignature | Infraestrutura. Checks the status of the digital signature of the package. | |
ComputeExpressions | Infraestrutura. Computes the expression of this PackageClass object. | |
Equals | (Herdado de Object.) | |
Execute() | Infraestrutura. Returns a DTSExecResult enumeration that contains information about the success or failure of the package execution. | |
Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object) | Infraestrutura. Runs the application, container, or package as part of a package workflow. | |
ExportConfigurationFile | Infraestrutura. Creates an XML file that contains all deployable variables in the package. | |
Finalize | (Herdado de Object.) | |
FindReferencedObjects | Infraestrutura. Returns a reference object enumeration. | |
GetBreakpointTargets | Infraestrutura. 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 | Infraestrutura. Returns a value that contains the expression for the specified property. | |
GetHashCode | (Herdado de Object.) | |
GetObjectFromPackagePath | Infraestrutura. Returns an object from the specified package path. | |
GetParentID | Infraestrutura. Retrieves the parent identifier of the package. | |
GetPreExecutionPackageXML | Infraestrutura. Retrieves the pre-execution of a package XML. | |
GetProject | Infraestrutura. Retrieves the DTS project. | |
GetType | (Herdado de Object.) | |
IDTSExecutable100_Execute | Infraestrutura. Executes the executable. | |
IDTSExecutable100_Validate | Infraestrutura. Verifies that the executable will successfully execute by validating all its dependencies and other items before executing it. | |
IDTSPackageSigning100_CheckSignature | Infraestrutura. Checks the signature of the package. | |
IDTSPackageSigning100_LoadUserCertificateByHash | Infraestrutura. Loads the user certificate using hash. | |
IDTSPackageSigning100_LoadUserCertificateByName | Infraestrutura. Loads the user certificate by name. | |
IDTSSuspend100_ResumeExecution | Infraestrutura. Resumes the execution of the task after pausing. | |
IDTSSuspend100_SuspendExecution | Infraestrutura. Notifies that the executable needs to suspend. | |
ImportConfigurationFile | Infraestrutura. Loads a configuration file associated with the package. | |
LoadFromXML | Infraestrutura. Loads a package and all its objects that have been saved to memory in XML format. | |
LoadUserCertificateByHash | Infraestrutura. Loads the user certificate using hash. | |
LoadUserCertificateByName | Infraestrutura. Loads the user certificate by name. | |
MemberwiseClone | (Herdado de Object.) | |
PasswordMatch | Infraestrutura. Determines whether the specified password matches with the package password. | |
PermitUnencryptedSave | Infraestrutura. Permits the unencrypted information to save. | |
ProcessConfiguration | Infraestrutura. Specifies the configuration information for a package and its objects. | |
RegenerateID | Infraestrutura. Creates a new GUID for the package and updates the package ID property. | |
ResumeExecution | Infraestrutura. Resumes the execution of the package after pausing. | |
SaveToXML | Infraestrutura. Saves the package to memory in an XML format. | |
SetExpression | Infraestrutura. Assigns the specified expression to the property. | |
SetProject | Infraestrutura. Sets the specified project. | |
SuspendExecution | Infraestrutura. Called when the executable needs to suspend. This method is called by the runtime engine. | |
ToString | (Herdado de Object.) | |
Validate | Infraestrutura. Allows the package to determine if it contains invalid settings that will prevent it from executing successfully. |
Início
Comentários
For more information, see Package.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.