AbstractProvider GetProvider Method Kentico 8.1 API Reference
Gets the loaded provider by its object type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

objectType
Type: OnlineSystem String
Provider object type
exceptionIfNotFound (Optional)
Type: OnlineSystem Boolean
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