共用方式為


WorkflowSettings Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Contains workflow setting values which can be changed to tune a Microsoft Dynamics 365 deployment.

Namespace:   Microsoft.Xrm.Sdk.Deployment
Assembly:  Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Deployment.DeploymentObject
    Microsoft.Xrm.Sdk.Deployment.DeploymentConfigSettings
      Microsoft.Xrm.Sdk.Deployment.WorkflowSettings

Syntax

[DataContractAttribute(Name = "WorkflowSettings", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class WorkflowSettings : DeploymentConfigSettings
<DataContractAttribute(Name := "WorkflowSettings", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
Public Class WorkflowSettings
    Inherits DeploymentConfigSettings

Constructors

Name Description
System_CAPS_pubmethod WorkflowSettings()

Initializes a new instance of the WorkflowSettings class.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from DeploymentObject.)

System_CAPS_pubproperty MaxDepth

Gets or sets the maximum depth for a workflow.

System_CAPS_pubproperty MinInactiveSeconds

Gets or sets the maximum number of seconds a workflow can be inactive.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

You can also use Windows PowerShell to retrieve or update these settings.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Sdk.Deployment Namespace
Deployment web service messages
Deployment entities and deployment configuration settings
Administer the deployment using Windows PowerShel

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright