Partilhar via


Meetings.UpdateMeeting Method

Updates the meeting information on 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/UpdateMeeting", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/meetings/",  _
    ResponseNamespace := "https://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 _
)
'Usage
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("https://schemas.microsoft.com/sharepoint/soap/meetings/UpdateMeeting", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/meetings/", 
    ResponseNamespace = "https://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
    Type: System.String

    A persistent GUID for the calendar component.

  • sequence
    Type: System.UInt32

    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
    Type: System.DateTime

    The date and time that the instance of the iCalendar object was created in UTC format.

  • utcDateStart
    Type: System.DateTime

    The start date and time for the meeting, expressed in UTC.

  • utcDateEnd
    Type: System.DateTime

    The end date and time for the meeting, expressed in Coordinated Universal Time (UTC).

  • nonGregorian
    Type: System.Boolean

    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 https://Server_Name/[sites/][Site_Name/]_vti_bin/Meetings.asmx.

Examples

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

<soap:Body>

<UpdateMeeting xmlns=

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

See Also

Reference

Meetings Class

Meetings Members

Meetings Web Service