Assembly: Net;
Namespace: None;
The ISharePointSite interface contains properties and methods that are used to work with the SharePoint site.
ISharePointSite
Connection to the SharePoint site requires:
Initialize the instance of the SharePointSite class and cast it to the ISharePointSite interface.
Specify the absolute address of the SharePoint site in the Url property.
In the ThisHostCredentials property specify the credentials for authorization or set the UseDefaultCredentials property to True if authorization of credentials of the current operating system user is required.
Call the RootWeb method to connect to the site and get its contents.
Property name | Brief description | |
The ThisHostCredentials property determines the credentials that are used for authorization at the SharePoint site. | ||
The Url property determines the absolute address of the SharePoint site. | ||
The UseDefaultCredentials property determines whether to use credentials of the current operating system user for authorization at the SharePoint site. |
Method name | Brief description | |
The RootWeb method initializes a new connection to the SharePoint site and returns the contents of the uppermost level of the site. |
See also: