corelibraries-devexpress-dot-dataaccess-dot-sql-69624a8e.md
Provides data for the SqlDataSource.BeforeLoadProviderCustomAssembly and SqlDataSource.BeforeLoadProviderCustomAssemblyGlobal events.
Namespace : DevExpress.DataAccess.Sql
Assembly : DevExpress.DataAccess.v25.2.dll
NuGet Package : DevExpress.DataAccess
public class BeforeLoadProviderCustomAssemblyEventArgs :
EventArgs
Public Class BeforeLoadProviderCustomAssemblyEventArgs
Inherits EventArgs
BeforeLoadProviderCustomAssemblyEventArgs is the data class for the following events:
Loading provider custom assemblies referenced by Firebird data sources is forbidden. The ProviderCustomAssemblyLoadingProhibitedException occurs on an unauthorized attempt to load a custom assembly as the FireBirdConnectionParameters.ClientLibrary parameter.
To permit loading a specific assembly, handle the BeforeLoadProviderCustomAssembly event (or the SqlDataSource.BeforeLoadProviderCustomAssemblyGlobal event) and specify the following properties of the BeforeLoadProviderCustomAssemblyEventArgs object:
BeforeLoadProviderCustomAssemblyEventArgs.AllowLoadingSpecifies whether loading a Firebird provider custom assembly is allowed.BeforeLoadProviderCustomAssemblyEventArgs.AssemblyPathSpecifies the path to the requested Firebird provider assembly.
Object EventArgs BeforeLoadProviderCustomAssemblyEventArgs
See Also