INetFwPolicy.GetProfileByType Method
Gets the profile of the specified type.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Декларация
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
- profileType
Type: Microsoft.TeamFoundation.Common.NET_FW_PROFILE_TYPE_
A [T:Microsoft.TeamFoundation.Common.NET_FW_PROFILE_TYPE_)] value indicating the profile being requested.
Return Value
Type: Microsoft.TeamFoundation.Common.INetFwProfile
A INetFwProfile object representing the requested profile.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.