共用方式為


Lists.UpdateListItemsWithKnowledge method

Namespace:  WebSvcLists
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/UpdateListItemsWithKnowledge", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function UpdateListItemsWithKnowledge ( _
    listName As String, _
    updates As XmlNode, _
    syncScope As String, _
    knowledge As XmlNode _
) As XmlNode
'用途
Dim instance As Lists
Dim listName As String
Dim updates As XmlNode
Dim syncScope As String
Dim knowledge As XmlNode
Dim returnValue As XmlNode

returnValue = instance.UpdateListItemsWithKnowledge(listName, _
    updates, syncScope, knowledge)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/UpdateListItemsWithKnowledge", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode UpdateListItemsWithKnowledge(
    string listName,
    XmlNode updates,
    string syncScope,
    XmlNode knowledge
)

參數

  • listName
    Type: System.String

    GUID 或要從中擷取清單項目清單的清單標題。如果使用者資訊清單指定的清單,字串設為"使用者資訊"或"的使用者資訊清單 」。

  • syncScope
    Type: System.String

    指定同步處理的範圍。如果在a null reference (Nothing in Visual Basic),預設同步處理範圍使用空的識別碼。

  • knowledge
    Type: System.Xml.XmlNode

    指定以 XML 格式的 Microsoft Sync Framework knowledge資料結構。若未提供用戶端,在清單中的所有項目會傳回,隨時檢視] 或 [覆寫rowLimit參數的預設資料列限制。如果指定,回應將會包含清單項目之後已擷取的知識,受到列限制限制所做的變更。

傳回值

Type: System.Xml.XmlNode
會傳回代表更新到清單項目,以及項目知識XmlNode物件。

備註

偵測衝突的伺服器端上的清單項目使用ows_hiddenversion ] 欄位。如果欄位的值不符合資料庫中的項目中的值,然後會偵測衝突的更新和用戶端會傳回錯誤。回應的訊息中還回報告衝突的項目。用戶端必須接著會取得新版的清單項目,解決衝突、 更新ows_hiddenversion欄位的值並再試一次更新項目。

請參閱

參照

Lists class

Lists members

WebSvcLists namespace