다음을 통해 공유


HostedEventProvider.Interval Property

Gets or sets the interval at which the hosted event provider runs.

네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Property Interval As TimeSpan
public TimeSpan Interval { get; set; }
public:
property TimeSpan Interval {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_Interval ()

/** @property */
public void set_Interval (TimeSpan value)
public function get Interval () : TimeSpan

public function set Interval (value : TimeSpan)

속성 값

A TimeSpan object that specifies the interval.

주의

If you specify a StartTime value, the Interval value must divide evenly into a 24-hour period. For instance, 15 minutes is a valid interval, causing the event provider to run 96 times within a 24-hour period. However, 14 minutes is not a valid interval, because it does not divide evenly into a 24-hour period.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

HostedEventProvider Class
HostedEventProvider Members
Microsoft.SqlServer.Management.Nmo Namespace

관련 자료

호스팅된 이벤트 공급자 정의
Interval Element (ADF)