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.