IDTSPropertiesProvider::Properties Property
Gets a collection that contains DtsProperty objects that have properties and methods for use with the container.
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Property Value
Type: Microsoft.SqlServer.Dts.Runtime::DtsProperties^A DtsProperties collection that contains DtsProperty objects associated with the container.
One of the classes that implements the IDTSPropertiesProvider interface is the Package class. The following code example shows how the Package class returns a DtsProperties collection from the Properties method. The code example then iterates through the properties, displaying several values.
Sample Output:
Name CertificateContext, Type Int64, Package path\Package.CertificateContext
Name CertificateObject, Type Object, Package path\Package.CertificateObject
Name CheckpointFileName, Type String, Package path\Package.CheckpointFileName
Name CheckpointUsage, Type Object, Package path\Package.CheckpointUsage
Name CheckSignatureOnLoad, Type Boolean, Package path\Package.CheckSignatureOnLoad
Name Configurations, Type Object, Package path\Package.Configurations
Name Connections, Type Object, Package path\Package.Connections
Name CreationDate, Type DateTime, Package path\Package.CreationDate
Name CreationName, Type String, Package path\Package.CreationName
Name CreatorComputerName, Type String, Package path\Package.CreatorComputerName
Name CreatorName, Type String, Package path\Package.CreatorName