Show / Hide Table of Contents

Method SetDynamicWorkspaces

SetDynamicWorkspaces(IEnumerable<DynamicWorkspace>)

Sets the dynamic workspaces for this service.

Declaration
public void SetDynamicWorkspaces(IEnumerable<DynamicWorkspace> dynamicWorkspaces)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<DynamicWorkspace> dynamicWorkspaces

the workspaces.

Remarks

This can only be set when the service is in the Stopped state. Setting this will replace any previously set values.

Exceptions
Type Condition
System.InvalidOperationException

dynamicWorkspaces cannot be set if the service is not in the stopped state.

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 200.8
.NET Framework100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.