Bagikan melalui


IProcessHostSupportFunctions::GetAppHostConfigFilename Method

Mengambil jalur file konfigurasi host aplikasi (.config).

Sintaks

virtual HRESULT __stdcall GetAppHostConfigFilename(  
   BSTR* pbstrPhysicalPath  
) = 0;  

Parameter

pbstrPhysicalPath
Penunjuk ke yang BSTR berisi jalur fisik (termasuk nama file) ke file konfigurasi host aplikasi.

Tampilkan Nilai

Sebuah HRESULT. Nilai yang mungkin termasuk, tetapi tidak terbatas pada, yang ada dalam tabel berikut.

Nilai Deskripsi
S_OK Menunjukkan bahwa operasi berhasil.

Persyaratan

Jenis Deskripsi
Klien - IIS 7.0 di Windows Vista
- IIS 7.5 di Windows 7
- IIS 8.0 di Windows 8
- IIS 10.0 pada Windows 10
Server - IIS 7.0 di Windows Server 2008
- IIS 7.5 di Windows Server 2008 R2
- IIS 8.0 di Windows Server 2012
- IIS 8.5 di Windows Server 2012 R2
- IIS 10.0 di Windows Server 2016
Produk - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- IIS Express 7.5, IIS Express 8.0, IIS Express 10.0
Header Webhost.h

Lihat juga

Antarmuka IProcessHostSupportFunctions