Show / Hide Table of Contents

CreateProvider() Method

Creates a new instance of a DbProvider object from the default configured provider

Syntax

'Declaration

Public Overloads Shared Function CreateProvider() As DbProvider
public static DbProvider CreateProvider()

Return Value

A new DbProvider instance for the configured default alias

Remarks

It is not necessary to create a new instance of the default DbProvider every time it is used. Instead, see the Provider property to get a reference to the common instance of the default DbProvider.

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
Overload List

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.