OperationInfo.HasProtectionLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.