FCFL.NET Common Library - API Reference
ValidateConnectionParams Method (DbProvider)

The host name, IP address, or Oracle SID of the database server
The catalog or database to use (not required for Oracle)
The user or login name to use for authentication
The password to use for authentication
Validates the supplied connection parameters against the rules of the underlying provider
Syntax
'Declaration
 
Public MustOverride Function ValidateConnectionParams( _
   ByVal dbServer As String, _
   ByVal dbName As String, _
   ByVal dbUser As String, _
   ByVal dbPass As String _
) As Boolean
public abstract bool ValidateConnectionParams( 
   string dbServer,
   string dbName,
   string dbUser,
   string dbPass
)

Parameters

dbServer
The host name, IP address, or Oracle SID of the database server
dbName
The catalog or database to use (not required for Oracle)
dbUser
The user or login name to use for authentication
dbPass
The password to use for authentication

Return Value

True if the parameters are valid according to the provider, or False if they are not

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Reference

DbProvider Class
DbProvider Members

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.