Editare

Partajați prin


OperationInfo.HasProtectionLevel Property

Definition

Gets information on whether or not the operation has a defined ProtectionLevel.

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

Property Value

A Boolean value indicating whether or not the operation has a ProtectionLevel associated with it.

Examples

The following example demonstrates how to access the HasProtectionLevel property.

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

Applies to