Show / Hide Table of Contents

IsValidProvider Method

The provider name or alias to verify

Gets whether or not the specified alias or name is a valid alias/name for a configured or intrinsic data access provider

Syntax

'Declaration

Public Function IsValidProvider( _
   ByVal _providerName_ As String _
) As Boolean
public bool IsValidProvider( 
   string _providerName_
)

Parameters

providerName

The provider name or alias to verify

Return Value

Whether or not the specified alias or name is a valid alias/name for a configured or intrinsic data access provider

Exceptions

Exception Description
ArgumentNullException key is a null reference (Nothing in Visual Basic)

Requirements

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

Reference

DbProviderFactory Class
DbProviderFactory 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.