MicrosoftOfficeLiveBusinessContactManager.AddContacts 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 contacts. Returns the list of IDs for the new contact.

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


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

returnValue = instance.AddContacts(Contacts)
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public int[] AddContacts(
    Contact[] Contacts


  • Contacts
    Type: []
    Array of Contact

Return Value

Type: []
Array of ID attributes of new Contact 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