Share via


Service.PathName Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

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

Property Value

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