Sequence.Properties 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
시퀀스 컨테이너와 관련된 속성을 포함하는 객체들의 집합 DtsProperty 을 반환합니다.
public:
property Microsoft::SqlServer::Dts::Runtime::DtsProperties ^ Properties { Microsoft::SqlServer::Dts::Runtime::DtsProperties ^ get(); };
public Microsoft.SqlServer.Dts.Runtime.DtsProperties Properties { get; }
member this.Properties : Microsoft.SqlServer.Dts.Runtime.DtsProperties
Public ReadOnly Property Properties As DtsProperties
속성 값
컬렉션입니다 DtsProperties .
구현
예제
다음 코드 예시는 객체를 Sequence 생성한 후 컬렉션을 Properties 불러와, 컬렉션 내에서 발견된 이름과 속성 종류를 반복하고 표시합니다.
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Dts.Runtime;
namespace Microsoft.SqlServer.SSIS.Samples
{
class Program
{
static void Main(string[] args)
{
Package package = new Package();
Sequence seq = (Sequence)package.Executables.Add("STOCK:SEQUENCE");
DtsProperties seqProps = seq.Properties;
foreach (DtsProperty pc in seqProps)
{
Console.WriteLine("Name: {0}, Property Kind {1}", pc.Name, pc.PropertyKind);
}
}
}
}
Imports System
Imports System.Collections.Generic
Imports System.Text
Imports Microsoft.SqlServer.Dts.Runtime
Namespace Microsoft.SqlServer.SSIS.Samples
Class Program
Shared Sub Main(ByVal args() As String)
Dim package As Package = New Package()
Dim seq As Sequence = CType(package.Executables.Add("STOCK:SEQUENCE"), Sequence)
Dim seqProps As DtsProperties = seq.Properties
Dim pc As DtsProperty
For Each pc In seqProps
Console.WriteLine("Name: {0}, Property Kind {1}", pc.Name, pc.PropertyKind)
Next
End Sub
End Class
End Namespace
샘플 출력:
이름: 창조이름, 재산 종류 기타
이름: DelayValidation, 속성 종류 기타
이름: 설명, 재산 종류 기타
이름: 비활성화, 재산 종류 기타
이름: DisableEventHandlers, 속성 종류 기타
이름: EventHandlers, 속성 종류 기타
이름: EventInfos, 부동산 종류 기타
이름: 실행 파일, 속성 종류 기타
이름: 실행 기간, 재산 종류 기타
이름: ExecutionResult, 속성 종류 기타
이름: 실행 상태, 재산 종류 기타
이름: FailPackageOnFailure, Property Kind 기타
이름: FailParentOnFailure, 재산 종류 기타
이름: 강제 실행값, 속성 종류 기타
이름: ForceExecutionResult, 속성 종류 기타
이름: ForceExecutionValue, 속성 종류 기타
이름: 신분증, 재산 종류 기타
이름: IsDefaultLocaleID, 속성 종류 기타
이름: 격리 수준, 속성 종류 기타
이름: LocaleID, 부동산 종류 기타
이름: logEntryInfos, 속성 종류 기타
이름: loggingMode, 속성 종류 기타
이름: loggingOptions, 부동산 종류 기타
이름: MaximumErrorCount, 속성 종류 기타
이름: 이름, 재산 종류 기타
이름: 부모, 재산 종류 기타
이름: 우선제약, 속성 종류 기타
이름: 시작 시간, 부동산 종류 기타
이름: StopTime, Property Kind Other
이름: TransactionOption, 부동산 종류 기타
이름: Variable Dispenser, Property Kind 기타
이름: 변수, 속성 종류 기타