Freigeben über


DtsProperty-Klasse

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

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.DtsProperty

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public NotInheritable Class DtsProperty _
    Inherits DtsObject
'Usage
Dim instance As DtsProperty
public sealed class DtsProperty : DtsObject
public ref class DtsProperty sealed : public DtsObject
[<SealedAttribute>]
type DtsProperty =  
    class 
        inherit DtsObject 
    end
public final class DtsProperty extends DtsObject

Der DtsProperty-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft ConnectionType Returns the name of the connection manager used to create the connection. This field is read-only.
Öffentliche Eigenschaft Get Returns a Boolean that indicates whether a property value can be read. This field is read-only.
Öffentliche Eigenschaft Name Returns the name of the property. This field is read-only.
Öffentliche Eigenschaft PropertyKind Gets the DTSPropertyKind enumeration that contains information about the custom attributes on a property. This information is used by the designer.
Öffentliche Eigenschaft Set Returns a Boolean that indicates whether the referenced object property is changeable. This field is read-only.
Öffentliche Eigenschaft Type Returns the data type of the parameter. This field is read-only.
Öffentliche Eigenschaft TypeConverter Returns the assembly-qualified type name of the type converter object for the property.
Öffentliche Eigenschaft UITypeEditor Returns the assembly-qualified type name of the graphical editor for the property. This type is read-only.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals Determines whether two object instances are equal. (Geerbt von DtsObject.)
Öffentliche Methode GetExport Returns the export flag for the specified object.
Öffentliche Methode GetExpression Returns a String that contains the expression for the specified object. Null means no expression is assigned.
Öffentliche Methode GetHashCode Returns the hash code for this instance. (Geerbt von DtsObject.)
Öffentliche Methode GetPackagePath Returns a String that contains the relative path to the location of the specified package.
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetValue Returns the value of the property.
Öffentliche Methode SetExport Sets the export flag for the specified object.
Öffentliche Methode SetExpression Assigns the specified expression to the object. Specify nullein NULL-Verweis (Nothing in Visual Basic) to remove an existing expression from the property.
Öffentliche Methode SetValue Sets the value of the property.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Runtime-Namespace