DbProviderFactories.UnregisterFactory(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a DbProviderFactory registration for the given provider invariant name.
public:
static bool UnregisterFactory(System::String ^ providerInvariantName);
public static bool UnregisterFactory(string providerInvariantName);
static member UnregisterFactory : string -> bool
Public Shared Function UnregisterFactory (providerInvariantName As String) As Boolean
Parameters
- providerInvariantName
- String
The invariant provider name of the registration to remove.
Returns
true if the registration is successfully found and removed; otherwise, false. This method returns false if a registration for providerInvariantName is not found.