Share via


OperationInfo.HasProtectionLevel Propriété

Définition

Obtient des informations indiquant si l'opération dispose ou non d'un ProtectionLevel défini.

public:
 property bool HasProtectionLevel { bool get(); };
public bool HasProtectionLevel { get; }
member this.HasProtectionLevel : bool
Public ReadOnly Property HasProtectionLevel As Boolean

Valeur de propriété

Valeur booléenne indiquant si l'opération est associée ou non à un ProtectionLevel.

Exemples

L'exemple suivant montre comment accéder à la propriété HasProtectionLevel.

OperationInfo info = new OperationInfo();
bool hasProtectionLevel = info.HasProtectionLevel;
Dim info As New OperationInfo()
Dim hasProtectionLevel = info.HasProtectionLevel

S’applique à