共用方式為


INetFwPolicy Interface

Interface that provides access to a firewall policy.

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

Syntax

'宣告
<GuidAttribute("D46D2478-9AC9-4008-9DC7-5563CE5536CC")> _
Public Interface INetFwPolicy
[GuidAttribute("D46D2478-9AC9-4008-9DC7-5563CE5536CC")]
public interface INetFwPolicy
[GuidAttribute(L"D46D2478-9AC9-4008-9DC7-5563CE5536CC")]
public interface class INetFwPolicy
[<GuidAttribute("D46D2478-9AC9-4008-9DC7-5563CE5536CC")>]
type INetFwPolicy =  interface end
public interface INetFwPolicy

The INetFwPolicy type exposes the following members.

Properties

  Name Description
Public property CurrentProfile Gets the current firewall profile.

Top

Methods

  Name Description
Public method GetProfileByType Gets the profile of the specified type.

Top

See Also

Reference

Microsoft.TeamFoundation.Common Namespace