Compartir a través de


Service.PathName Propiedad

Gets the path and file name of the binary file that implements the 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 PathName As String 
    Get
'Uso
Dim instance As Service 
Dim value As String 

value = instance.PathName
public string PathName { get; }
public:
property String^ PathName {
    String^ get ();
}
member PathName : string
function get PathName () : String

Valor de la propiedad

Tipo: System.String
A String value that specifies the path and file name of the binary file that implements the service.

Ejemplos

Administrar servicios y configuración de red utilizando el proveedor WMI

Vea también

Referencia

Service Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi

Otros recursos

WMI and SQL Server

Conectar al Motor de base de datos de SQL Server