共用方式為


VpnRouteAssignment.ExcludeLocalSubnets 屬性

定義

取得或設定實體基礎結構網路,例如本機子網,應該一律豁免透過 VPN 介面流動。

public:
 property bool ExcludeLocalSubnets { bool get(); void set(bool value); };
bool ExcludeLocalSubnets();

void ExcludeLocalSubnets(bool value);
public bool ExcludeLocalSubnets { get; set; }
var boolean = vpnRouteAssignment.excludeLocalSubnets;
vpnRouteAssignment.excludeLocalSubnets = boolean;
Public Property ExcludeLocalSubnets As Boolean

屬性值

Boolean

bool

如果排除本機子網,則會 TRUE;否則,它會 FALSE

Windows 需求

應用程式功能
networkingVpnProvider

適用於