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 | |
---|---|---|
SPRSServiceConfiguration() | Initializes a new instance of the SPRSServiceConfiguration class. | |
SPRSServiceConfiguration(String, SPFarm) | Initializes a new instance of the SPRSServiceConfiguration class. |
Top
Properties
Name | Description | |
---|---|---|
Applications | (Inherited from SPService.) | |
AuthenticationType | Gets or sets the authentication type of the report server. | |
CanUpgrade | (Inherited from SPPersistedUpgradableObject.) | |
DisplayName | (Inherited from SPPersistedObject.) | |
Farm | (Inherited from SPPersistedObject.) | |
Id | (Inherited from SPPersistedObject.) | |
Instances | (Inherited from SPService.) | |
IsBackwardsCompatible | (Inherited from SPPersistedUpgradableObject.) | |
JobDefinitions | (Inherited from SPService.) | |
JobHistoryEntries | (Inherited from SPService.) | |
Name | (Inherited from SPPersistedObject.) | |
NeedsUpgrade | (Inherited from SPPersistedUpgradableObject.) | |
NeedsUpgradeIncludeChildren | (Inherited from SPPersistedUpgradableObject.) | |
Parent | (Inherited from SPPersistedObject.) | |
Properties | (Inherited from SPPersistedObject.) | |
Required | (Inherited from SPService.) | |
RSServerUrl | Gets or sets the report server URL. | |
RunningJobs | (Inherited from SPService.) | |
Status | (Inherited from SPPersistedObject.) | |
TypeName | (Inherited from SPPersistedObject.) | |
UpgradeContext | (Inherited from SPPersistedUpgradableObject.) | |
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) | |
Version | (Inherited from SPPersistedObject.) | |
WasCreated | (Inherited from SPPersistedObject.) |
Top
Methods
Name | Description | |
---|---|---|
Clone | (Inherited from SPPersistedObject.) | |
Delete | (Inherited from SPService.) | |
Equals | (Inherited from SPPersistedObject.) | |
Finalize | (Inherited from Object.) | |
GetChild``1() | (Inherited from SPPersistedObject.) | |
GetChild``1(String) | (Inherited from SPPersistedObject.) | |
GetCreateApplicationLink | (Inherited from SPService.) | |
GetCreateApplicationOptions | (Inherited from SPService.) | |
GetHashCode | (Inherited from SPPersistedObject.) | |
GetObjectData | (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
HasAdditionalUpdateAccess | (Inherited from SPPersistedObject.) | |
Invalidate | (Inherited from SPPersistedUpgradableObject.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | (Inherited from SPPersistedObject.) | |
Provision | (Inherited from SPPersistedObject.) | |
ToString | (Inherited from SPPersistedObject.) | |
Uncache | (Inherited from SPPersistedObject.) | |
Unprovision | (Inherited from SPPersistedObject.) | |
Update() | (Inherited from SPPersistedObject.) | |
Update(Boolean) | (Inherited from SPPersistedObject.) | |
UpdateParent | (Inherited from SPAutoSerializingObject.) | |
Upgrade() | (Inherited from SPPersistedUpgradableObject.) | |
Upgrade(Boolean) | (Inherited from SPPersistedUpgradableObject.) | |
Validate | (Inherited from SPPersistedObject.) | |
ValidateBackwardsCompatibility | (Inherited from SPPersistedUpgradableObject.) |
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.