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