DtsProperty DtsProperty DtsProperty Class

Definition

Contains properties and methods used by several containers on their properties. This class cannot be inherited.

public ref class DtsProperty sealed : Microsoft::SqlServer::Dts::Runtime::DtsObject
public sealed class DtsProperty : Microsoft.SqlServer.Dts.Runtime.DtsObject
Public NotInheritable Class DtsProperty
Inherits DtsObject
Inheritance
DtsPropertyDtsPropertyDtsProperty

Remarks

Several containers implement the IDTSPropertiesProvider interface. It provides the inheritors acess to Properties collection, which is a collection of the properties that the container has. It's useful to iterate over this Properties collection instead of accessing each property individually. The Properties collection returns a DtsProperties object, and each individual object in the collection is a DtsProperty object. Because the collection of DtsProperty objects is stored in a DtsProperties collection, you can iterate over the collection using the foreach (For Each in Microsoft Visual Basic) syntax or the PropertyEnumerator and view the properties that this class has.

Properties

ConnectionType ConnectionType ConnectionType

Returns the name of the connection manager used to create the connection. This field is read-only.

Get Get Get

Returns a Boolean that indicates whether a property value can be read. This field is read-only.

Name Name Name

Returns the name of the property. This field is read-only.

PropertyKind PropertyKind PropertyKind

Gets the DTSPropertyKind enumeration that contains information about the custom attributes on a property. This information is used by the designer.

Set Set Set

Returns a Boolean that indicates whether the referenced object property is changeable. This field is read-only.

Type Type Type

Returns the data type of the parameter. This field is read-only.

TypeConverter TypeConverter TypeConverter

Returns the assembly-qualified type name of the type converter object for the property.

UITypeEditor UITypeEditor UITypeEditor

Returns the assembly-qualified type name of the graphical editor for the property. This type is read-only.

Methods

Equals(Object) Equals(Object) Equals(Object)

Determines whether two object instances are equal.

(Inherited from DtsObject)
GetExport(Object) GetExport(Object) GetExport(Object)

Returns the export flag for the specified object.

GetExpression(Object) GetExpression(Object) GetExpression(Object)

Returns a String that contains the expression for the specified object. Null means no expression is assigned.

GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this instance.

(Inherited from DtsObject)
GetPackagePath(Object) GetPackagePath(Object) GetPackagePath(Object)

Returns a String that contains the relative path to the location of the specified package.

GetValue(Object) GetValue(Object) GetValue(Object)

Returns the value of the property.

SetExport(Object, Boolean) SetExport(Object, Boolean) SetExport(Object, Boolean)

Sets the export flag for the specified object.

SetExpression(Object, String) SetExpression(Object, String) SetExpression(Object, String)

Assigns the specified expression to the object. Specify null to remove an existing expression from the property.

SetValue(Object, Object) SetValue(Object, Object) SetValue(Object, Object)

Sets the value of the property.

Applies to