MicrosoftOfficeLiveBusinessContactManager.GetGroups 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.

Returns the list of contact groups.

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

Syntax

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

returnValue = instance.GetGroups(WithCounts)
[SoapHeaderAttribute("UserHeaderValue")]
[SoapHeaderAttribute("AuditHeaderValue")]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/officelive/soap/GetGroups", RequestNamespace = "http://schemas.microsoft.com/officelive/soap/", 
    ResponseNamespace = "http://schemas.microsoft.com/officelive/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ContactGroup[] GetGroups(
    bool WithCounts
)

Parameters

  • WithCounts
    Type: System.Boolean
    Boolean to request return of the number of members in the group.

Return Value

Type: []
Array of ContactGroup 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