CRMActivity Class

The CRMActivity class contains methods that you can use to manage activities.

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
                  CRMActivity

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

The CRMActivity class exposes the following methods.

Method Description
Cancel Sets the activity state to Canceled.
Close Sets the activity state to Closed.
Create Creates a new activity.
CreateAndRetrieve Creates a new activity and then retrieves it.
Delete Deletes an activity.
GetActivityParties Returns a list of the involved parties for the specified activity.
GrantAccess Grants a user or team access to the specified activity
Handle Moves an activity to the In Progress (WIPBin) queue of the user.
MakePrivate Makes the specified activity private.
MakePublic Makes the specified activity public.
ModifyAccess Replaces the access rights on the activity for the specified security principal.
Open Sets the activity state to Open.
Retrieve Retrieves all the information for an activity.
RetrieveByObject Retrieves activities associated with a particular object.
RetrieveByParty Retrieves all activities for a given activity party.
RetrieveByPrincipal Retrieves a set of activities for specific principal.
RetrievePrincipalAccess Retrieves the access a specific security principal has to a specific activity.
RetrieveSharedPrincipals Retrieves a list of security principals with which the activity is shared.
RetrieveSharedPrincipalsAndAccess Retrieves all the security principals (users or teams) that have access to an activity, along with what access they have.
RevokeAccess Revokes access to an activity.
Route Routes an activity. This moves the activity to the private or public queue or the user or does auto-routing.
SetActivityParties Deletes all existing parties for the specified activity and creates a set of new parties.
UnHandle Not supported in this version.
Update Updates an activity.
UpdateAndRetrieve Updates an activity and then retrieves it.

Requirements

Namespace: Microsoft.Crm.Platform.Proxy

Assembly: Microsoft.Crm.Platform.Proxy.dll

See Also

© 2005 Microsoft Corporation. All rights reserved.