共用方式為


INetFwPolicy2 Interface

Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)

Syntax

'Declaration
<GuidAttribute("98325047-C671-4174-8D81-DEFCD3F03186")> _
Public Interface INetFwPolicy2
[GuidAttribute("98325047-C671-4174-8D81-DEFCD3F03186")]
public interface INetFwPolicy2
[GuidAttribute(L"98325047-C671-4174-8D81-DEFCD3F03186")]
public interface class INetFwPolicy2
[<GuidAttribute("98325047-C671-4174-8D81-DEFCD3F03186")>]
type INetFwPolicy2 =  interface end
public interface INetFwPolicy2

The INetFwPolicy2 type exposes the following members.

Properties

  Name Description
Public property BlockAllInboundTraffic
Public property CurrentProfileTypes
Public property ExcludedInterfaces
Public property FirewallEnabled
Public property IsRuleGroupCurrentlyEnabled
Public property NotificationsDisabled
Public property Rules
Public property UnicastResponsesToMulticastBroadcastDisabled

Top

Methods

  Name Description
Public method EnableRuleGroup
Public method IsRuleGroupEnabled
Public method RestoreLocalFirewallDefaults

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Common Namespace