MicrosoftOfficeLiveBusinessContactManager.AddActivities Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Add multiple activities to a contact, company, or opportunity. Returns the list of IDs for the new activities.

Namespace:  WebBCM
Assembly:  OfficeLive (in OfficeLive.dll)


<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("UserHeaderValue")> _
<SoapHeaderAttribute("AuditHeaderValue")> _
Public Function AddActivities ( _
    Activities As Activity() _
) As Integer()
Dim instance As MicrosoftOfficeLiveBusinessContactManager
Dim Activities As Activity()
Dim returnValue As Integer()

returnValue = instance.AddActivities(Activities)
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public int[] AddActivities(
    Activity[] Activities


  • Activities
    Type: []
    Array of Activity objects

Return Value

Type: []
Array of ID attributes for the new Activity objects


For an interactive example of this method, download the Contact Manager Web service examples tool from the MSDN Code Gallery.

See Also


MicrosoftOfficeLiveBusinessContactManager Class

MicrosoftOfficeLiveBusinessContactManager Members

WebBCM Namespace