共用方式為


INetFwService Interface

Interface that provides access to the properties of a service that may be authorized to listen through the firewall.

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

Syntax

'宣告
<GuidAttribute("79FD57C8-908E-4A36-9888-D5B3F0A444CF")> _
Public Interface INetFwService
[GuidAttribute("79FD57C8-908E-4A36-9888-D5B3F0A444CF")]
public interface INetFwService
[GuidAttribute(L"79FD57C8-908E-4A36-9888-D5B3F0A444CF")]
public interface class INetFwService
[<GuidAttribute("79FD57C8-908E-4A36-9888-D5B3F0A444CF")>]
type INetFwService =  interface end
public interface INetFwService

The INetFwService type exposes the following members.

Properties

  Name Description
Public property Customized Gets a flag indicating whether at least one of the ports associated with this service has been customized.
Public property Enabled Gets or sets a flag indicating whether the ports associated with this service are enabled.
Public property GloballyOpenPorts Gets the collection of globally open ports.
Public property IpVersion Gets or sets the internet protocol version of the service.
Public property Name Gets the friendly name of the service.
Public property RemoteAddresses Gets or sets the array of addresses from which the port can listen for traffic.
Public property Scope Gets or sets the network scope from which the port can listen for traffic.
Public property Type Gets the type of the service.

Top

See Also

Reference

Microsoft.TeamFoundation.Common Namespace