TraceSettings Class

 

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

Contains trace settings for a 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.TraceSettings

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod TraceSettings()

Initializes a new instance of the TraceSettings class.

Properties

Name Description
System_CAPS_pubproperty CallStack

Gets or sets whether to save the call stack.

System_CAPS_pubproperty Categories

Gets or sets the categories to trace.

System_CAPS_pubproperty Directory

Gets or sets the directory for the trace files.

System_CAPS_pubproperty Enabled

Gets or sets whether tracing is enabled.

System_CAPS_pubproperty ExtensionData

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

System_CAPS_pubproperty FileSize

Gets or sets the trace file size limit (MB).

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