MicrosoftOfficeLiveBusinessContactManager.RemoveContactFromGroup 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.
Deletes a contact from a particular contact group.
Namespace: WebBCM
Assembly: OfficeLive (in OfficeLive.dll)
Syntax
'Declaration
<SoapHeaderAttribute("UserHeaderValue")> _
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/officelive/soap/RemoveContactFromGroup", RequestNamespace := "http://schemas.microsoft.com/officelive/soap/", _
ResponseNamespace := "http://schemas.microsoft.com/officelive/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("AuditHeaderValue")> _
Public Sub RemoveContactFromGroup ( _
ContactItemId As Integer, _
ContactGroupName As String _
)
'Usage
Dim instance As MicrosoftOfficeLiveBusinessContactManager
Dim ContactItemId As Integer
Dim ContactGroupName As String
instance.RemoveContactFromGroup(ContactItemId, _
ContactGroupName)
[SoapHeaderAttribute("UserHeaderValue")]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/officelive/soap/RemoveContactFromGroup", RequestNamespace = "http://schemas.microsoft.com/officelive/soap/",
ResponseNamespace = "http://schemas.microsoft.com/officelive/soap/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("AuditHeaderValue")]
public void RemoveContactFromGroup(
int ContactItemId,
string ContactGroupName
)
Parameters
- ContactItemId
Type: System.Int32
Integer that is the ID property for Contact.
- ContactGroupName
Type: System.String
String that is the Name property for the ContactGroup. Default groups are named:Lead or Prospect
Customer
Vendor
Employee
Newsletter Subscriber
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