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) |
Remarks
For more information on specifying custom data providers, see the guide on Configuring Custom Data Providers.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family