Service.StartMode 속성
Gets or sets the method by which the SQL Server service is started.
네임스페이스: Microsoft.SqlServer.Management.Smo.Wmi
어셈블리: Microsoft.SqlServer.SqlWmiManagement(Microsoft.SqlServer.SqlWmiManagement.dll)
구문
‘선언
Public Property StartMode As ServiceStartMode
Get
Set
‘사용 방법
Dim instance As Service
Dim value As ServiceStartMode
value = instance.StartMode
instance.StartMode = value
public ServiceStartMode StartMode { get; set; }
public:
property ServiceStartMode StartMode {
ServiceStartMode get ();
void set (ServiceStartMode value);
}
member StartMode : ServiceStartMode with get, set
function get StartMode () : ServiceStartMode
function set StartMode (value : ServiceStartMode)
속성 값
유형: ServiceStartMode
A ServiceStartMode object value that specifies the method by which the service is started.
예
WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스