DtsProperty 클래스
Contains properties and methods used by several containers on their properties. This class cannot be inherited.
상속 계층
System.Object
Microsoft.SqlServer.Dts.Runtime.DtsObject
Microsoft.SqlServer.Dts.Runtime.DtsProperty
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)
구문
‘선언
Public NotInheritable Class DtsProperty _
Inherits DtsObject
‘사용 방법
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
DtsProperty 유형에서 다음 멤버를 표시합니다.
속성
이름 | 설명 | |
---|---|---|
ConnectionType | Returns the name of the connection manager used to create the connection. This field is read-only. | |
Get | Returns a Boolean that indicates whether a property value can be read. This field is read-only. | |
Name | Returns the name of the property. This field is read-only. | |
PropertyKind | Gets the DTSPropertyKind enumeration that contains information about the custom attributes on a property. This information is used by the designer. | |
Set | Returns a Boolean that indicates whether the referenced object property is changeable. This field is read-only. | |
Type | Returns the data type of the parameter. This field is read-only. | |
TypeConverter | Returns the assembly-qualified type name of the type converter object for the property. | |
UITypeEditor | Returns the assembly-qualified type name of the graphical editor for the property. This type is read-only. |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
Equals | Determines whether two object instances are equal. (DtsObject에서 상속됨) | |
GetExport | Returns the export flag for the specified object. | |
GetExpression | Returns a String that contains the expression for the specified object. Null means no expression is assigned. | |
GetHashCode | Returns the hash code for this instance. (DtsObject에서 상속됨) | |
GetPackagePath | Returns a String that contains the relative path to the location of the specified package. | |
GetType | (Object에서 상속됨) | |
GetValue | Returns the value of the property. | |
SetExport | Sets the export flag for the specified object. | |
SetExpression | Assigns the specified expression to the object. Specify nullnull 참조(Visual Basic에서는 Nothing) to remove an existing expression from the property. | |
SetValue | Sets the value of the property. | |
ToString | (Object에서 상속됨) |
맨 위로 이동
주의
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.
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.