State Property (SqlService Class)

Gets or sets the current state of the service.

구문

object.State [= value]

Parts

Property Value/Return Value

A uint32 value that specifies the state of the service.

Values can be one of the following.

  • 1
    Stopped. The service is stopped.
  • 2
    Start Pending. The service is waiting to start.
  • 3
    Stop Pending. The service is waiting to stop.
  • 4
    Running. The service is running.
  • 5
    Continue Pending. The service is waiting to continue.
  • 6
    Pause Pending. The service is waiting to pause.
  • 7
    Paused. The service is paused.

주의

참고 항목

관련 자료

서비스 시작 및 중지

도움말 및 정보

SQL Server 2005 지원 받기