Partager via


Propriété Service.PathName

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public ReadOnly Property PathName As String 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Gestion des services et des paramètres réseau à l'aide du fournisseur WMI

Voir aussi

Référence

Service Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Wmi

Autres ressources

WMI and SQL Server

Connexion au moteur de base de données SQL Server