DtsContainer.StartTime 속성

정의

컨테이너에서 실행을 시작한 시간을 반환합니다. 이 속성은 읽기 전용입니다.

public:
 property DateTime StartTime { DateTime get(); };
[System.ComponentModel.Browsable(false)]
public DateTime StartTime { get; }
[<System.ComponentModel.Browsable(false)>]
member this.StartTime : DateTime
Public ReadOnly Property StartTime As DateTime

속성 값

컨테이너에서 실행을 시작한 시점을 나타내는 DateTime 값입니다.

구현

특성

예제

다음 코드 예제에서는 명명 pkg 된 패키지가 만들어졌다고 가정합니다. 패키지가 실행되고 실행의 시작 시간, 중지 시간 및 기간이 기록됩니다. 변수는 패키지를 실행하여 정보를 캡처한 후에 만들어집니다. pkg 인터페이스를 상속하므로 개체를 상속DtsContainer하는 컨테이너, 작업 또는 개체로 DtsContainer 대체할 수 있습니다IDTSExecutionMetrics.

pkg.Execute();  
DateTime dtStart = pkg.StartTime;  
DateTime dtStop = pkg.StopTime;  
int pgkDuration = pkg.ExecutionDuration;  
pkg.Execute()  
Dim dtStart As DateTime =  pkg.StartTime   
Dim dtStop As DateTime =  pkg.StopTime   
Dim pgkDuration As Integer =  pkg.ExecutionDuration  

적용 대상