SPRSServiceConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents information for the report server at a front-end Web server in a SharePoint farm.
public ref class SPRSServiceConfiguration sealed : Microsoft::SharePoint::Administration::SPService
[System.Runtime.InteropServices.Guid("B502B021-3FD4-416F-89BF-29541A9DBC58")]
public sealed class SPRSServiceConfiguration : Microsoft.SharePoint.Administration.SPService
[<System.Runtime.InteropServices.Guid("B502B021-3FD4-416F-89BF-29541A9DBC58")>]
type SPRSServiceConfiguration = class
inherit SPService
Public NotInheritable Class SPRSServiceConfiguration
Inherits SPService
- Inheritance
-
Microsoft.SharePoint.Administration.SPServiceSPRSServiceConfiguration
- Attributes
Examples
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();
Imports Microsoft.ReportingServices.SharePoint.Common
...
Dim svc As SPRSServiceConfiguration = SPFarm.Local.Services.GetValue(Of SPRSServiceConfiguration)(SPRSServiceConfiguration.RSServiceName)
If svc Is Nothing Then
svc = New SPRSServiceConfiguration(SPRSServiceConfiguration.RSServiceName, SPFarm.Local)
End If
svc.RSServerUrl = rsServerUrl
svc.AuthenticationType = RSAuthenticationType.Windows
svc.Update()
Constructors
SPRSServiceConfiguration() |
Initializes a new instance of the SPRSServiceConfiguration class. |
SPRSServiceConfiguration(String, SPFarm) |
Initializes a new instance of the SPRSServiceConfiguration class. |
Fields
RSServiceName |
The SharePoint service name for Reporting Services. |
Properties
AuthenticationType |
Gets or sets the authentication type of the report server. |
RSServerUrl |
Gets or sets the report server URL. |