Meetings.UpdateMeeting Method

Updates the meeting information on a Meeting Workspace site.

Web Service: MeetingsWeb Reference: http://<Site>/_vti_bin/Meetings.asmx

Syntax

<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/meetings/UpdateMeeting", RequestNamespace:="http://schemas.microsoft.com/sharepoint/soap/meetings/", ResponseNamespace:="http://schemas.microsoft.com/sharepoint/soap/meetings/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Sub UpdateMeeting ( _
    uid As String, _
    sequence As UInteger, _
    utcDateStamp As DateTime, _
    title As String, _
    location As String, _
    utcDateStart As DateTime, _
    utcDateEnd As DateTime, _
    nonGregorian As Boolean _
)

Dim instance As Meetings
Dim uid As String
Dim sequence As UInteger
Dim utcDateStamp As DateTime
Dim title As String
Dim location As String
Dim utcDateStart As DateTime
Dim utcDateEnd As DateTime
Dim nonGregorian As Boolean

instance.UpdateMeeting(uid, sequence, utcDateStamp, title, location, utcDateStart, utcDateEnd, nonGregorian)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/meetings/UpdateMeeting", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/meetings/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/meetings/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public void UpdateMeeting (
    string uid,
    uint sequence,
    DateTime utcDateStamp,
    string title,
    string location,
    DateTime utcDateStart,
    DateTime utcDateEnd,
    bool nonGregorian
)

Parameters

  • uid
    A persistent GUID for the calendar component.
  • sequence
    An integer used to determine the ordering of updates in case they arrive out of sequence. Updates with a lower-than-current sequence are discarded.
  • utcDateStamp
    The date and time that the instance of the iCalendar object was created in UTC format.
  • title
    The title (subject) of the meeting.
  • location
    The location of the meeting.
  • utcDateStart
    The start date and time for the meeting, expressed in UTC.
  • utcDateEnd
    The end date and time for the meeting, expressed in Coordinated Universal Time (UTC).
  • nonGregorian
    true if the calendar is set to a format other than Gregorian; otherwise, false. Setting this parameter to true puts the following message in the summary data of the meeting workspace: "This meeting was created using a calendar and scheduling program that only supports series updates to the Meeting Workspace. Changes you make to individual occurrences of meetings in that program will not appear in the workspace."

Remarks

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

Example

The following code updates a meeting that exists on a Meeting Workspace site. MWSURLLink, MeetingSubjectTextBox, MeetingLocationTextBox, DTSTARTTextBox, DTENDTextBox, and CreateWorkspaceButton are all interface elements that are on a form in the Visual Basic 2005 project.

     Private Sub UpdateMeetingButton_Click(ByVal sender As 
          System.Object, ByVal e As System.EventArgs) Handles 
          UpdateMeetingButton.Click
        ws.Credentials = myCache.DefaultCredentials()
        ws.Url = MWSURLLink.Text + "/_vti_bin/meetings.asmx"
        Sequence.ToString("0")

        ws.UpdateMeeting(UID, Sequence, "2003-03-27T15:00:00-08:00",             MeetingSubjectTextBox.Text, MeetingLocationTextBox.Text,             DTSTARTTextBox.Text, DTENDTextBox.Text, False) 
     End Sub

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: "http://schemas.microsoft.com/sharepoint/soap/

meetings/UpdateMeeting"

<?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="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<UpdateMeeting xmlns=

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

<uid>string</uid>

<sequence>unsignedInt</sequence>

<utcDateStamp>dateTime</utcDateStamp>

<title>string</title>

<location>string</location>

<utcDateStart>dateTime</utcDateStart>

<utcDateEnd>dateTime</utcDateEnd>

<nonGregorian>boolean</nonGregorian>

</UpdateMeeting>

</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="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UpdateMeetingResponse xmlns=
        "http://schemas.microsoft.com/sharepoint/soap/meetings/" />
  </soap:Body>
</soap:Envelope>

See Also

Reference

Meetings Class
Meetings Members
Meetings Web Service