Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Gets the type of service, such as Microsoft Search service, SQL Server Agent service, or SQL Server service.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxis
'Declaración
Public ReadOnly Property Type As ManagedServiceType
Get
'Uso
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
Valor de la propiedad
Tipo: ManagedServiceType
A ManagedServiceType object that specifies the type of SQL Server service.
Ejemplos
Administrar servicios y configuración de red utilizando el proveedor WMI
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi