Bagikan melalui


VpnChannelConfiguration.ServerHostNameList Properti

Definisi

Mendapatkan nama host server server VPN yang harus disambungkan oleh plug-in VPN.

public:
 property IVectorView<HostName ^> ^ ServerHostNameList { IVectorView<HostName ^> ^ get(); };
IVectorView<HostName> ServerHostNameList();
public IReadOnlyList<HostName> ServerHostNameList { get; }
var iVectorView = vpnChannelConfiguration.serverHostNameList;
Public ReadOnly Property ServerHostNameList As IReadOnlyList(Of HostName)

Nilai Properti

Nama host server server VPN tempat plug-in VPN harus tersambung.

Persyaratan Windows

Kemampuan aplikasi
networkingVpnProvider

Keterangan

Nota

Setiap panggilan ke API ini di luar plug-in VPN yang terhubung akan gagal, karena aktivitas dan interaksi antara plug-in VPN dan sistem dikendalikan oleh profil VPN. Hanya ada satu profil VPN per proses karena plug-in VPN hanya memiliki satu profil VPN yang dipetakan ke profil VPN, dan jika pemanggil membuat lebih dari satu objek profil, mereka semua akan merujuk ke pengaturan yang sama.

Berlaku untuk