Export (0) Print
Expand All

SPRSServiceConfiguration Class

Represents information for the report server at a front-end Web server in a SharePoint farm.

Namespace:  Microsoft.ReportingServices.SharePoint.Common
Assembly:  Microsoft.ReportingServices.SharePoint.Common (in Microsoft.ReportingServices.SharePoint.Common.dll)

[GuidAttribute("B502B021-3FD4-416F-89BF-29541A9DBC58")]
public sealed class SPRSServiceConfiguration : SPService

using Microsoft.ReportingServices.SharePoint.Common;
...
SPRSServiceConfiguration svc = SPFarm.Local.Services.GetValue<SPRSServiceConfiguration>(SPRSServiceConfiguration.RSServiceName);
if (svc == null)
   svc = new SPRSServiceConfiguration(SPRSServiceConfiguration.RSServiceName, SPFarm.Local);
svc.RSServerUrl = rsServerUrl;
svc.AuthenticationType = RSAuthenticationType.Windows;
svc.Update();

System.Object
  SPAutoSerializingObject
    SPPersistedObject
      SPPersistedUpgradableObject
        SPService
          Microsoft.ReportingServices.SharePoint.Common.SPRSServiceConfiguration

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft