Partager via


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)

Syntax

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

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Entity

Returns Entity.

Remarks

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