| Visual Basic (Declaration) | |
|---|---|
Public Function New() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As New Passwords() | |
| C# | |
|---|---|
public Passwords() | |
| Managed Extensions for C++ | |
|---|---|
public: Passwords(); | |
| C++/CLI | |
|---|---|
public: Passwords(); | |
| Exception | Description |
|---|---|
| System.ArgumentException | A parameter is a string of 0 length, or authenticationPassword is null and privacyPassword is not. |
Instances of Passwords is added to AuthoritativeEngine.Users to enable SNMP version 3 authentication and privacy (decryption).
Target Platforms: Microsoft .NET Framework 2.0