Creates a new instance of the
OracleStorage
Class.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function New( _
ByVal user As String, _
ByVal password As String, _
ByVal host As String _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim user As String
Dim password As String
Dim host As String
Dim instance As OracleStorage(user, password, host)
|
| Managed Extensions for C++ | |
|---|
public: OracleStorage(
string* user,
string* password,
string* host
) |
Parameters
- user
- Specifies the name of the user that connects to the storage.
- password
- Specifies the password of the user that connects to the storage.
- host
-
Specifies the database's hostname (Name of the machine where the database is
installed).
Exceptions
| Exception | Description |
| ArgumentNullException | User is null, password is null or host is null. |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also