Поделиться через


Свойство Type

Gets the type of service, such as Microsoft Search service, SQL Server Agent service, or SQL Server service.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Wmi
Сборка:  Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)

Синтаксис

'Декларация
Public ReadOnly Property Type As ManagedServiceType
    Get
'Применение
Dim instance As Service
Dim value As ManagedServiceType

value = instance.Type
public ManagedServiceType Type { get; }
public:
property ManagedServiceType Type {
    ManagedServiceType get ();
}
member Type : ManagedServiceType
function get Type () : ManagedServiceType

Значение свойства

Тип: ManagedServiceType
A ManagedServiceType object that specifies the type of SQL Server service.