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)

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/officelive/soap/AddActivities", RequestNamespace := "http://schemas.microsoft.com/officelive/soap/",  _
    ResponseNamespace := "http://schemas.microsoft.com/officelive/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("UserHeaderValue")> _
<SoapHeaderAttribute("AuditHeaderValue")> _
Public Function AddActivities ( _
    Activities As Activity() _
) As Integer()
'Usage
Dim instance As MicrosoftOfficeLiveBusinessContactManager
Dim Activities As Activity()
Dim returnValue As Integer()

returnValue = instance.AddActivities(Activities)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/officelive/soap/AddActivities", RequestNamespace = "http://schemas.microsoft.com/officelive/soap/", 
    ResponseNamespace = "http://schemas.microsoft.com/officelive/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("UserHeaderValue")]
[SoapHeaderAttribute("AuditHeaderValue")]
public int[] AddActivities(
    Activity[] Activities
)

Parameters

  • Activities
    Type: []
    Array of Activity objects

Return Value

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

Examples

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

See Also

Reference

MicrosoftOfficeLiveBusinessContactManager Class

MicrosoftOfficeLiveBusinessContactManager Members

WebBCM Namespace