Click or drag to resize
AbstractProviderGetProvider Method
Gets the loaded provider by its object type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static AbstractProvider GetProvider(
	string objectType,
	bool exceptionIfNotFound = true
)

Parameters

objectType
Type: SystemString
Provider object type
exceptionIfNotFound (Optional)
Type: SystemBoolean
If true, an exception is thrown if the provider is not found. If false, the null is returned if provider is not found

Return Value

Type: AbstractProvider
See Also