SPRSServiceConfiguration Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Stellt Informationen für den Berichtsserver bei einem Front-End-Webserver in einer SharePoint-Farm dar.
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
- Vererbung
-
SPRSServiceConfiguration
- Attribute
Beispiele
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()
Konstruktoren
SPRSServiceConfiguration() |
Initialisiert eine neue Instanz der SPRSServiceConfiguration-Klasse. |
SPRSServiceConfiguration(String, SPFarm) |
Initialisiert eine neue Instanz der SPRSServiceConfiguration-Klasse. |
Felder
RSServiceName |
Der SharePoint-Dienstname für Reporting Services. |
Eigenschaften
AuthenticationType |
Ruft den Authentifizierungstyp des Berichtsservers ab oder legt ihn fest. |
RSServerUrl |
Ruft die URL des Berichtsservers ab oder legt sie fest. |