IsLocal Property  
 

Indicates whether the selected provider is a locally hosted service.

Syntax

object.IsLocal

Remarks

The IsLocal property indicates whether the currently selected provider is a locally hosted service. This property returns True for providers which communicate with a service running on the local system or a private network, rather than a public cloud service.

Applications can use this property to adjust their behavior or user interface based on whether requests are processed locally or by a remote provider. For example, an application may choose to display different configuration options for local providers, allow non-secure HTTP connections for local testing, or provide different guidance regarding model availability and performance.

If no provider has been selected, this property will return False.

Data Type

Boolean

See Also

BaseUrl Property, Provider Property, ProviderFlags Property, ProviderName Property, Secure Property, Connect Method