MicrosoftOfficeLiveBusinessContactManager.AddCompanies 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 companies. Returns the list of IDs for the new companies.
Namespace: WebBCM
Assembly: OfficeLive (in OfficeLive.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/officelive/soap/AddCompanies", RequestNamespace := "http://schemas.microsoft.com/officelive/soap/", _
ResponseNamespace := "http://schemas.microsoft.com/officelive/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("AuditHeaderValue")> _
<SoapHeaderAttribute("UserHeaderValue")> _
Public Function AddCompanies ( _
Companies As Company() _
) As Integer()
'Usage
Dim instance As MicrosoftOfficeLiveBusinessContactManager
Dim Companies As Company()
Dim returnValue As Integer()
returnValue = instance.AddCompanies(Companies)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/officelive/soap/AddCompanies", RequestNamespace = "http://schemas.microsoft.com/officelive/soap/",
ResponseNamespace = "http://schemas.microsoft.com/officelive/soap/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("AuditHeaderValue")]
[SoapHeaderAttribute("UserHeaderValue")]
public int[] AddCompanies(
Company[] Companies
)
Parameters
- Companies
Type: []
Array of Company objects.
Return Value
Type: []
Array of ID attributes for new Company 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