OperationInfo.HasProtectionLevel Propriedade
Definição
Obtém informações sobre se a operação tem ou não um ProtectionLevel definido.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
Valor da propriedade
Um valor booliano que indica se a operação está associada a ela ou não ProtectionLevel .A Boolean value indicating whether or not the operation has a ProtectionLevel associated with it.
Exemplos
O exemplo a seguir demonstra como acessar a HasProtectionLevel propriedade.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