Webs Members

Provides methods for working with sites and subsites.

The following tables list the members exposed by the Webs type.

Public Constructors

  Name Description
Webs Initializes a new instance of the Webs class.

Top

Public Properties

(see also Protected Properties )

  Name Description
AllowAutoRedirect  (inherited from HttpWebClientProtocol)
ClientCertificates  (inherited from HttpWebClientProtocol)
ConnectionGroupName  (inherited from WebClientProtocol)
Container  (inherited from Component)
CookieContainer  (inherited from HttpWebClientProtocol)
Credentials  (inherited from WebClientProtocol)
EnableDecompression  (inherited from HttpWebClientProtocol)
PreAuthenticate  (inherited from WebClientProtocol)
Proxy  (inherited from HttpWebClientProtocol)
RequestEncoding  (inherited from WebClientProtocol)
Site  (inherited from Component)
SoapVersion  (inherited from SoapHttpClientProtocol)
Timeout  (inherited from WebClientProtocol)
UnsafeAuthenticatedConnectionSharing  (inherited from HttpWebClientProtocol)
Url  (inherited from WebClientProtocol)
UseDefaultCredentials  (inherited from WebClientProtocol)
UserAgent  (inherited from HttpWebClientProtocol)

Top

Protected Properties

  Name Description
CanRaiseEvents  (inherited from Component)
DesignMode  (inherited from Component)
Events  (inherited from Component)

Top

Public Methods

(see also Protected Methods )

  Name Description
Abort  (inherited from WebClientProtocol)
CreateContentType Creates a new site content type, with the specified columns and properties, on the site.
CreateObjRef  (inherited from MarshalByRefObject)
CustomizeCss Applies style sheet customization to a particular file.
DeleteContentType Deletes the specified site content type from the site.
Discover  (inherited from SoapHttpClientProtocol)
Dispose  Overloaded. (inherited from Component)
Equals  Overloaded. (inherited from Object)
GenerateXmlMappings  Overloaded. (inherited from HttpWebClientProtocol)
GetActivatedFeatures Returns a list of Features that are activated in the Web site and in its parent site collection.
GetAllSubWebCollection Returns the titles and URLs of all sites within the current site collection.
GetColumns Returns a collection of the column definitions for the columns available on the site.
GetContentType Returns the content type definition for the specified site content type.
GetContentTypes Returns a collection of content type definitions for all site content types on the specified site.
GetCustomizedPageStatus Gets the customization (also known as "ghosted") status of the file with the specified URL.
GetHashCode  (inherited from Object)
GetLifetimeService  (inherited from MarshalByRefObject)
GetListTemplates Returns the collection of list template definitions for the current site.
GetType  (inherited from Object)
GetWeb Returns properties of a site (for example, name, description, and theme).
GetWebCollection Returns the titles and URLs of all sites directly beneath the current site.
InitializeLifetimeService  (inherited from MarshalByRefObject)
ReferenceEquals  (inherited from Object)
RemoveContentTypeXmlDocument Removes the specified XmlDocument Element (ContentType) element from the specified site content type.
RevertAllFileContentStreams Reverts the content streams of all files within the Web site.
RevertCss Reverts style sheet customization of a file to the default style sheet.
RevertFileContentStream Reverts the content stream of the file with the specified URL.
ToString  (inherited from Component)
UpdateColumns Creates, updates, or deletes one or more columns on the specified site.
UpdateContentType Updates the specified site content type.
UpdateContentTypeXmlDocument Adds or overwrites the specified XmlDocument Element (ContentType) element in the site content type.
WebUrlFromPageUrl Returns the URL of the parent site for the specified page URL.

Top

Protected Methods

  Name Description
AddToCache  (inherited from WebClientProtocol)
BeginInvoke  (inherited from SoapHttpClientProtocol)
CancelAsync  (inherited from HttpWebClientProtocol)
Dispose  Overloaded. (inherited from Component)
EndInvoke  (inherited from SoapHttpClientProtocol)
Finalize  (inherited from Component)
GetFromCache  (inherited from WebClientProtocol)
GetReaderForMessage  (inherited from SoapHttpClientProtocol)
GetService  (inherited from Component)
GetWebRequest  (inherited from SoapHttpClientProtocol)
GetWebResponse  Overloaded. (inherited from HttpWebClientProtocol)
GetWriterForMessage  (inherited from SoapHttpClientProtocol)
Invoke  (inherited from SoapHttpClientProtocol)
InvokeAsync  Overloaded. (inherited from SoapHttpClientProtocol)
MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)

Top

Public Events

  Name Description
Disposed  (inherited from Component)

Top

See Also

Reference

Webs Class
Webs Web Service