Share via


OperationInfo.HasProtectionLevel Proprietà

Definizione

Ottiene informazioni sulla presenza di un'enumerazione ProtectionLevel definita nell'operazione.

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

Valore della proprietà

Boolean

Valore booleano che indica se all'operazione viene associata un'enumerazione ProtectionLevel.

Esempio

Nell'esempio seguente viene illustrato come accedere alla proprietà HasProtectionLevel.

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

Si applica a