INetFwPolicy.GetProfileByType, méthode
Obtient le profil du type spécifié.
Espace de noms : Microsoft.TeamFoundation.Common
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Function GetProfileByType ( _
profileType As NET_FW_PROFILE_TYPE_ _
) As INetFwProfile
INetFwProfile GetProfileByType(
NET_FW_PROFILE_TYPE_ profileType
)
Paramètres
- profileType
Type : Microsoft.TeamFoundation.Common.NET_FW_PROFILE_TYPE_
Une valeur d' [T:Microsoft.TeamFoundation.Common.NET_FW_PROFILE_TYPE_)] indiquant le profil est demandé.
Valeur de retour
Type : Microsoft.TeamFoundation.Common.INetFwProfile
Un objet d' INetFwProfile représentant le profil demandé.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.