Partager via


Cltreq Method

Performs all Web discussion operations such as adding, editing, or deleting a discussion associated with a Web page or with a document stored in a document library.

Syntax

http://Server_Name/[sites/][Site/]/_vti_bin/owssvr.dll?
  Cmd=Cltreq
  &UL=Integer&STRMVER=Integer
  &ACT=[0|1|2|3|4|5|6|7|8]
  &URL=Text

Parameters

ID = "Text"

Scope = "Request"

Name = "Cmd"

Name = "UL"

Name = "STRMVER"

Name = "ACT"

Name = "URL"

Remarks

The Cltreq method returns the server build number in the response header.

Decoded

http://Server_Name/[sites/][Site/]/_vti_bin/owssvr.dll?Cmd=Cltreq&UL=1&STRMVER=4&ACT=0&URL=Server_Name/[sites/][Site/]default.aspx

Return Value

Success

Returns 0.

Error

Returns an XML-encoded Unicode (UTF-8) text string. For more information, see Error Message Format for Windows SharePoint Services.