共用方式為


INetFwPolicy.CurrentProfile Property

Gets the current firewall profile.

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

Syntax

'宣告
ReadOnly Property CurrentProfile As INetFwProfile
    Get
INetFwProfile CurrentProfile { get; }
property INetFwProfile^ CurrentProfile {
    INetFwProfile^ get ();
}
abstract CurrentProfile : INetFwProfile
function get CurrentProfile () : INetFwProfile

Property Value

Type: Microsoft.TeamFoundation.Common.INetFwProfile
A INetFwProfile object representing the current firewall profile.

.NET Framework Security

See Also

Reference

INetFwPolicy Interface

Microsoft.TeamFoundation.Common Namespace