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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.