Share via


Meetings.RemoveMeeting Method

Removes the association between a meeting and a Meeting Workspace site.

Namespace:  [Meetings Web service]
Web service reference: http://Site/_vti_bin/Meetings.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/meetings/RemoveMeeting", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/meetings/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/meetings/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub RemoveMeeting ( _
    recurrenceId As UInteger, _
    uid As String, _
    sequence As UInteger, _
    utcDateStamp As DateTime, _
    cancelMeeting As Boolean _
)
'Usage
Dim instance As Meetings
Dim recurrenceId As UInteger
Dim uid As String
Dim sequence As UInteger
Dim utcDateStamp As DateTime
Dim cancelMeeting As Boolean

instance.RemoveMeeting(recurrenceId, _
    uid, sequence, utcDateStamp, cancelMeeting)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/meetings/RemoveMeeting", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/meetings/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/meetings/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void RemoveMeeting(
    uint recurrenceId,
    string uid,
    uint sequence,
    DateTime utcDateStamp,
    bool cancelMeeting
)

Parameters

  • recurrenceId
    Type: System.UInt32

    The recurrence ID for the meeting that needs its association removed. This parameter can be set to 0 for single-instance meetings.

  • uid
    Type: System.String

    A persistent GUID for the calendar component.

  • sequence
    Type: System.UInt32

    An integer that is used to determine the ordering of updates in case they arrive out of sequence. Updates with a lower-than-current sequence are discarded. If the sequence is equal to the current sequence, the latest update are applied.

  • utcDateStamp
    Type: System.DateTime

    The date and time that the instance of the iCalendar object was created. This parameter needs to be in the UTC format (for example, 2003-03-04T04:45:22-08:00).

  • cancelMeeting
    Type: System.Boolean

    true to delete a meeting; false to remove its association with a Meeting Workspace site.

Remarks

To access the Meetings service and its methods, set a Web reference to https://Server_Name/[sites/][Site_Name/]_vti_bin/Meetings.asmx.

Examples

SOAP Request Format   Following is a sample SOAP request. Replace the placeholders shown with actual values.

POST /_vti_bin/meetings.asmx HTTP/1.1

Host: server_name

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction: "https://schemas.microsoft.com/sharepoint/

soap/meetings/RemoveMeeting"

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<RemoveMeeting xmlns=

"https://schemas.microsoft.com/sharepoint/soap/meetings/">

<recurrenceId>unsignedInt</recurrenceId>

<uid>string</uid>

<sequence>unsignedInt</sequence>

<utcDateStamp>dateTime</utcDateStamp>

<cancelMeeting>boolean</cancelMeeting>

</RemoveMeeting>

</soap:Body>

</soap:Envelope>

SOAP Response Format   Following is a sample SOAP response. Replace the placeholders shown with actual return values.

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <RemoveMeetingResponse xmlns=
        "https://schemas.microsoft.com/sharepoint/soap/meetings/" />
  </soap:Body>
</soap:Envelope>

See Also

Reference

Meetings Class

Meetings Members

Meetings Web Service