PrivacyProviderExtensionToSecurityLevel Method |
Namespace: Lextm.SharpSnmpLib.SecurityAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic static Levels ToSecurityLevel(
this IPrivacyProvider privacy
)
<ExtensionAttribute>
Public Shared Function ToSecurityLevel (
privacy As IPrivacyProvider
) As Levels
Dim privacy As IPrivacyProvider
Dim returnValue As Levels
returnValue = privacy.ToSecurityLevel()
public:
[ExtensionAttribute]
static Levels ToSecurityLevel(
IPrivacyProvider^ privacy
)
[<ExtensionAttribute>]
static member ToSecurityLevel :
privacy : IPrivacyProvider -> Levels
Parameters
- privacy IPrivacyProvider
- The privacy provider.
Return Value
LevelsLevels.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPrivacyProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also