INetFwPolicy.GetProfileByType Method

Gets the profile of the specified type.

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

Syntax

'Declaration
Function GetProfileByType ( _
    profileType As NET_FW_PROFILE_TYPE_ _
) As INetFwProfile
INetFwProfile GetProfileByType(
    NET_FW_PROFILE_TYPE_ profileType
)
INetFwProfile^ GetProfileByType(
    [InAttribute] NET_FW_PROFILE_TYPE_ profileType
)
abstract GetProfileByType : 
        profileType:NET_FW_PROFILE_TYPE_ -> INetFwProfile
function GetProfileByType(
    profileType : NET_FW_PROFILE_TYPE_
) : INetFwProfile

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

INetFwPolicy Interface

Microsoft.TeamFoundation.Common Namespace