共用方式為


ServiceStartMode 屬性

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property ServiceStartMode As ServiceStartMode
    Get
'用途
Dim instance As Server
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