Proprietà Service.PathName

Gets the path and file name of the binary file that implements the SQL Server service.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property PathName As String 
    Get
'Utilizzo
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

Valore proprietà

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

Esempi

Gestione di servizi e di impostazioni di rete tramite il provider WMI

Vedere anche

Riferimento

Service Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi

Altre risorse

WMI and SQL Server

Connessione al Motore di database di SQL Server