AbstractProviderGetProvider Method |
Gets the loaded provider by its object type.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax 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:
AbstractProviderSee Also