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 = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class TraceSettings : DeploymentConfigSettings
<DataContractAttribute(Name := "TraceSettings", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
Public Class TraceSettings
Inherits DeploymentConfigSettings
Constructors
Name | Description | |
---|---|---|
TraceSettings() | Initializes a new instance of the TraceSettings class. |
Properties
Name | Description | |
---|---|---|
CallStack | Gets or sets whether to save the call stack. |
|
Categories | Gets or sets the categories to trace. |
|
Directory | Gets or sets the directory for the trace files. |
|
Enabled | Gets or sets whether tracing is enabled. |
|
ExtensionData | Gets or sets the structure that contains extra data.(Inherited from DeploymentObject.) |
|
FileSize | Gets or sets the trace file size limit (MB). |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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