Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

InitializeReportServer Method (WMI MSReportServer_ConfigurationSetting)

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Initializes the specified report service instance.

Public Sub InitializeReportServer(ByVal InstallationID As String, _
    ByRef HRESULT As Int32, ByRef ExtendedErrors() As String)

public void InitializeReportServer(string InstallationID, 
    out Int32 HRESULT, out string[] ExtendedErrors);


A string used to encrypt the encryption key before it is returned.


[out] Value indicating whether the call succeeded or failed.


[out] A string array containing additional errors returned by the call.

Returns an HRESULT indicating success or failure of the method call. A value of 0 indicates that the method call was successful. A non-zero value indicates that an error has occurred.

When this method is called, the encryption key that accesses the report server database secure information is encrypted using the public key of the report server identified by InstallationID.

The specified report server’s public key must have previously been written into the report server database.

The InitializeReportServer method must be called against a report server that already has access to the secure information so that it can decrypt the encryption key. The resulting encrypted encryption key is then stored in the report server database.

If the report server’s IsInitialized property is set to true when the InitializeReportServer method is called, the method returns success without trying to encrypt the encryption key.

Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft