Condividi tramite


Classe DtsProperty

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class DtsProperty _
    Inherits DtsObject
'Utilizzo
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

Nel tipo DtsProperty sono esposti i membri seguenti.

Proprietà

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

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Determines whether two object instances are equal. Ereditato da DtsObject.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetExport Returns the export flag for the specified object.
Metodo pubblico GetExpression Returns a String that contains the expression for the specified object. Null means no expression is assigned.
Metodo pubblico GetHashCode Returns the hash code for this instance. Ereditato da DtsObject.
Metodo pubblico GetPackagePath Returns a String that contains the relative path to the location of the specified package.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetValue Returns the value of the property.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico SetExport Sets the export flag for the specified object.
Metodo pubblico SetExpression Assigns the specified expression to the object. Specify nullNothingnullptrunitriferimento Null (Nothing in Visual Basic). to remove an existing expression from the property.
Metodo pubblico SetValue Sets the value of the property.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.