CRMContract Class

The CRMContract class contains methods that you can use to manage contracts.

There are no properties for this class.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Web.Services.Protocols.WebClientProtocol
            System.Web.Services.Protocols.HttpWebClientProtocol
               System.Web.Services.Protocols.SoapHttpClientProtocol
                  CRMContract

[Visual Basic .NET]
Public Class CRMContract
   Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
[C#]
public class CRMContract : System.Web.Services.Protocols.SoapHttpClientProtocol
[C++]
public __gc class CRMContract: public System.Web.Services.Protocols.SoapHttpClientProtocol

The CRMContract class exposes the following methods.

Method Description
Assign Assigns a contract to the specified security principal (user or team).
Cancel Sets the state of a contract to Canceled.
Clone Creates a copy of an existing contract and its line items.
Create Creates a new contract.
CreateAndRetrieve Creates a new contract and then retrieves it.
Delete Deletes a contract.
GrantAccess Grants access to a contract for the specified security principal.
Hold Sets the state of a contract to Hold.
Invoice Sets the state of a contract to Invoiced.
ModifyAccess Replaces the access rights on the contract for the specified security principal.
ReleaseHold Releases the hold from a contract.
Renew Renews a contract and returns the new contract.
Retrieve Retrieves a contract.
RetrieveByObject Retrieves all of the contracts that are associated with a particular object (account).
RetrieveByObjectAndParent Retrieves all of the contracts that are associated with a particular object (account or contact). In the case of a contact, this API also returns all contracts that are associated with the parent account of the contact.
RetrieveByPrincipal Retrieves all of the contracts that are owned by a security principal.
RetrievePrincipalAccess Retrieves the access rights that are assigned to a security principal for a specific contract.
RetrieveSharedPrincipalsAndAccess Retrieves all security principals (users and teams) that have access to a contract and also the access rights that are assigned to these security principals
RevokeAccess Revokes access to a contract for the specified security principal.
Update Updates a contract.
UpdateAndRetrieve Updates a contract and then retrieves it.

Requirements

Namespace: Microsoft.Crm.Platform.Proxy

Assembly: Microsoft.Crm.Platform.Proxy.dll

See Also

© 2005 Microsoft Corporation. All rights reserved.