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
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.1 - 200.6 |