Compartilhar via


Propriedade do RDL Service.PathName

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 (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
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 da propriedade

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

Exemplos

Gerenciando serviços e configurações de rede através do provedor do WMI

Consulte também

Referência

Service Classe

Namespace Microsoft.SqlServer.Management.Smo.Wmi

Outros recursos

WMI and SQL Server

Conectando ao Mecanismo de Banco de Dados do SQL Server