OrganizationServiceContextExtensions.RenewContract Method (OrganizationServiceContext, Guid, Int32, Boolean)


Applies To: Dynamics CRM 2015

Renews a contract. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)


public static Entity RenewContract(
    this OrganizationServiceContext context,
    Guid contractId,
    int status,
    bool includeCanceledLines
static Entity^ RenewContract(
    OrganizationServiceContext^ context,
    Guid contractId,
    int status,
    bool includeCanceledLines
static member RenewContract : 
        context:OrganizationServiceContext *
        contractId:Guid *
        status:int *
        includeCanceledLines:bool -> Entity
Public Shared Function RenewContract (
    context As OrganizationServiceContext,
    contractId As Guid,
    status As Integer,
    includeCanceledLines As Boolean
) As Entity


Return Value

Type: Microsoft.Xrm.Sdk.Entity

Returns Entity.


This is a method wrapper for the RenewContractRequest and RenewContractResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright