SPRSServiceConfiguration Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<GuidAttribute("B502B021-3FD4-416F-89BF-29541A9DBC58")> _
Public NotInheritable Class SPRSServiceConfiguration _
    Inherits SPService
'Usage
Dim instance As SPRSServiceConfiguration
[GuidAttribute("B502B021-3FD4-416F-89BF-29541A9DBC58")]
public sealed class SPRSServiceConfiguration : SPService
[GuidAttribute(L"B502B021-3FD4-416F-89BF-29541A9DBC58")]
public ref class SPRSServiceConfiguration sealed : public SPService
[<SealedAttribute>]
[<GuidAttribute("B502B021-3FD4-416F-89BF-29541A9DBC58")>]
type SPRSServiceConfiguration =  
    class
        inherit SPService
    end
public final class SPRSServiceConfiguration extends SPService

The SPRSServiceConfiguration type exposes the following members.

Constructors

  Name Description
Public method SPRSServiceConfiguration() Initializes a new instance of the SPRSServiceConfiguration class.
Public method SPRSServiceConfiguration(String, SPFarm) Initializes a new instance of the SPRSServiceConfiguration class.

Top

Properties

  Name Description
Public property Applications (Inherited from SPService.)
Public property AuthenticationType Gets or sets the authentication type of the report server.
Public property CanUpgrade (Inherited from SPPersistedUpgradableObject.)
Public property DisplayName (Inherited from SPPersistedObject.)
Public property Farm (Inherited from SPPersistedObject.)
Public property Id (Inherited from SPPersistedObject.)
Public property Instances (Inherited from SPService.)
Public property IsBackwardsCompatible (Inherited from SPPersistedUpgradableObject.)
Public property JobDefinitions (Inherited from SPService.)
Public property JobHistoryEntries (Inherited from SPService.)
Public property Name (Inherited from SPPersistedObject.)
Public property NeedsUpgrade (Inherited from SPPersistedUpgradableObject.)
Public property NeedsUpgradeIncludeChildren (Inherited from SPPersistedUpgradableObject.)
Public property Parent (Inherited from SPPersistedObject.)
Public property Properties (Inherited from SPPersistedObject.)
Public property Required (Inherited from SPService.)
Public property RSServerUrl Gets or sets the report server URL.
Public property RunningJobs (Inherited from SPService.)
Public property Status (Inherited from SPPersistedObject.)
Public property TypeName (Inherited from SPPersistedObject.)
Public property UpgradeContext (Inherited from SPPersistedUpgradableObject.)
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
Public property Version (Inherited from SPPersistedObject.)
Protected property WasCreated (Inherited from SPPersistedObject.)

Top

Methods

  Name Description
Public method Clone (Inherited from SPPersistedObject.)
Public method Delete (Inherited from SPService.)
Public method Equals (Inherited from SPPersistedObject.)
Protected method Finalize (Inherited from Object.)
Public method GetChild``1() (Inherited from SPPersistedObject.)
Public method GetChild``1(String) (Inherited from SPPersistedObject.)
Public method GetCreateApplicationLink (Inherited from SPService.)
Public method GetCreateApplicationOptions (Inherited from SPService.)
Public method GetHashCode (Inherited from SPPersistedObject.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method HasAdditionalUpdateAccess (Inherited from SPPersistedObject.)
Public method Invalidate (Inherited from SPPersistedUpgradableObject.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPPersistedObject.)
Public method Provision (Inherited from SPPersistedObject.)
Public method ToString (Inherited from SPPersistedObject.)
Public method Uncache (Inherited from SPPersistedObject.)
Public method Unprovision (Inherited from SPPersistedObject.)
Public method Update() (Inherited from SPPersistedObject.)
Public method Update(Boolean) (Inherited from SPPersistedObject.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)
Public method Upgrade() (Inherited from SPPersistedUpgradableObject.)
Public method Upgrade(Boolean) (Inherited from SPPersistedUpgradableObject.)
Protected method Validate (Inherited from SPPersistedObject.)
Public method ValidateBackwardsCompatibility (Inherited from SPPersistedUpgradableObject.)

Top

Fields

  Name Description
Public fieldStatic member RSServiceName The SharePoint service name for Reporting Services.

Top

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()

Thread Safety

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