Skip to main content
All docs
V25.1
  • Tab

    SharePointFileSystemProvider.SiteHostName Property

    Specifies a host name where a SharePoint site is located.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v25.1.dll

    NuGet Package: DevExpress.Web

    Declaration

    public string SiteHostName { get; set; }

    Property Value

    Type Description
    String

    The host name.

    Remarks

    The “myteam.sharepoint.com/sites/TestProject1” SharePoint site link contains the following parts:

    • SiteHostName - “myteam.sharepoint.com”

    • SiteName - “TestProject1”

    <dx:ASPxFileManager ID="FileManager" >
        //...
        <SettingsSharePoint 
            AccountName="FileManagerSharePointAccount" 
            TokenEndpoint="https://login.microsoftonline.com/46ec2686-1d80-6e0r-81de-57aec8e4672f/oauth2/token" 
            RedirectUri="http://localhost"
            SiteName="DemoSite" 
            SiteHostName="myteam.sharepoint.com" />
    </dx:ASPxFileManager>
    
    See Also