Show / Hide Table of Contents

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 family

Reference

DbProvider Class
DbProvider Members

Back to top © 2022 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.