다음을 통해 공유


Application.VacuumSchedules Property

Gets the data removal schedule for the application.

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

구문

‘선언
Public ReadOnly Property VacuumSchedules As VacuumScheduleCollection
public VacuumScheduleCollection VacuumSchedules { get; }
public:
property VacuumScheduleCollection^ VacuumSchedules {
    VacuumScheduleCollection^ get ();
}
/** @property */
public VacuumScheduleCollection get_VacuumSchedules ()
public function get VacuumSchedules () : VacuumScheduleCollection

속성 값

A VacuumScheduleCollection object containing the data removal schedule.

주의

Use the methods of the VacuumScheduleCollection class to add or remove VacuumSchedule objects.

The following examples show how to define a vacuum schedule and add it to an application:

VacuumSchedule vacuumSchedule1 = new VacuumSchedule(
    myApplication, "1");
vacuumSchedule1.StartTime = new TimeSpan(23, 0, 0);
myApplication.VacuumSchedules.Add(vacuumSchedule1);
Dim vacuumSchedule1 As VacuumSchedule = _
    New VacuumSchedule(myApplication, "1")
vacuumSchedule1.StartTime = New TimeSpan(23, 0, 0)
myApplication.VacuumSchedules.Add(vacuumSchedule1)

스레드 보안

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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Application Class
Application Members
Microsoft.SqlServer.Management.Nmo Namespace
VacuumSchedule

관련 자료

데이터 제거 구성
사용되지 않는 응용 프로그램 데이터 제거
VacuumSchedule Element (ADF)