Partilhar via


TrackLicenseRequest Class

 

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

Contains the data that is needed to track the licenses 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.DeploymentServiceRequest
    Microsoft.Xrm.Sdk.Deployment.TrackLicenseRequest

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod TrackLicenseRequest()

Initializes a new instance of theTrackLicenseRequest class.

Properties

Name Description
System_CAPS_pubproperty EndDate

Gets or sets the end date for the license.

System_CAPS_pubproperty ExtensionData

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

System_CAPS_pubproperty LicenseType

Gets or sets the type of license.

System_CAPS_pubproperty StartDate

Gets or sets the start date for the license.

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

Pass an instance of this class to the Execute method, which returns an instance of TrackLicenseResponse.

Notes for Callers

You can also use the Get-CrmAccessLicenseWindows PowerShell command to retrieve license information. For more information, see Administer the deployment using Windows PowerShell.

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

TrackLicenseResponse
Microsoft.Xrm.Sdk.Deployment Namespace
Deployment entities and deployment configuration settings
Get-CrmAccessLicense

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright