UseDynamicStoredProcedures Parameter (Connect-Dynamics365 Cmdlet)
Specifies whether or not stored procedures are listed dynamically.
Syntax
Connect-Dynamics365 -UseDynamicStoredProcedures SwitchParameter
Data Type
bool
Default Value
false
Remarks
Some OData services expose custom server-side actions and functions in their $metadata document. These can be treated as stored procedures in the cmdlet. Enabling this property allows the cmdlet to fetch the latest available stored procedures directly from the service at runtime, which is useful if the set of available procedures changes often or is not known in advance.
When set to true, the cmdlet queries the service metadata for Actions and Functions and lists them as stored procedures, allowing you to execute them using EXEC, CALL, or edition-specific code.
When set to false, only the statically defined stored procedures are available.
This property is helpful when working with dynamic or evolving OData services where procedures may be added or removed without notice.