Share via


Classe DtsProperty

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public NotInheritable Class DtsProperty _
    Inherits DtsObject
'Utilisation
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

Le type DtsProperty expose les membres suivants.

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetExport Returns the export flag for the specified object.
Méthode publique GetExpression Returns a String that contains the expression for the specified object. Null means no expression is assigned.
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetPackagePath Returns a String that contains the relative path to the location of the specified package.
Méthode publique GetType (hérité de Object.)
Méthode publique GetValue Returns the value of the property.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique SetExport Sets the export flag for the specified object.
Méthode publique SetExpression Assigns the specified expression to the object. Specify nullNothingnullptrunitune référence Null (Nothing dans Visual Basic) to remove an existing expression from the property.
Méthode publique SetValue Sets the value of the property.
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.