Webs.UpdateColumns Method
Creates, updates, or deletes one or more columns on the specified site.
Namespace: [Webs Web service]
Web service reference: http://Site/_vti_bin/Webs.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/UpdateColumns", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function UpdateColumns ( _
newFields As XmlNode, _
updateFields As XmlNode, _
deleteFields As XmlNode _
) As XmlNode
'Usage
Dim instance As Webs
Dim newFields As XmlNode
Dim updateFields As XmlNode
Dim deleteFields As XmlNode
Dim returnValue As XmlNode
returnValue = instance.UpdateColumns(newFields, _
updateFields, deleteFields)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/UpdateColumns", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode UpdateColumns(
XmlNode newFields,
XmlNode updateFields,
XmlNode deleteFields
)
Parameters
newFields
Type: System.Xml.XmlNodeA string that represents the collection of columns to create on the site.
Format the column collection as a Fields Element (List) element, where each Field Element (List) child element defines a column to create on the site.
updateFields
Type: System.Xml.XmlNodeA string that represents the collection of columns to update on the site.
Format the column collection as a Fields Element (List) element, where each Field Element (List) child element defines a column to include on the site.
In each Field Element (List) child element, include the element attributes for the column properties you want to update.
deleteFields
Type: System.Xml.XmlNodeA string that represents the collection of columns to delete from the site.
Format the column collection as a Fields Element (List) element, where each Field Element (List) child element defines a column to delete from the site.
In each Field Element (List) child element, include the ID attributes for the column you want to delete.
Return Value
Type: System.Xml.XmlNode