共用方式為


ServiceStartMode 屬性

Gets the mode used to start the SQL Server Agent service.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property ServiceStartMode As ServiceStartMode
    Get
'用途
Dim instance As JobServer
Dim value As ServiceStartMode

value = instance.ServiceStartMode
[SfcPropertyAttribute]
public ServiceStartMode ServiceStartMode { get; }
[SfcPropertyAttribute]
public:
property ServiceStartMode ServiceStartMode {
    ServiceStartMode get ();
}
[<SfcPropertyAttribute>]
member ServiceStartMode : ServiceStartMode
function get ServiceStartMode () : ServiceStartMode

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .ServiceStartMode
A ServiceStartMode value that specifies the way that the SQL Server Agent service is started.