Metodo di ConfigurationSetting - ListInstalledSharePointVersionsConfigurationSetting Method - ListInstalledSharePointVersions

Restituisce un set di token che rappresentano le versioni di Microsoft Windows SharePoint ServicesWindows SharePoint Services, Office SharePoint ServerOffice SharePoint Server, SharePoint Foundation 2010SharePoint Foundation 2010o SharePoint Server 2010SharePoint Server 2010 installate nello stesso computer del server di report.Returns a set of tokens that represent the versions of Microsoft Windows SharePoint ServicesWindows SharePoint Services, Office SharePoint ServerOffice SharePoint Server, SharePoint Foundation 2010SharePoint Foundation 2010, or SharePoint Server 2010SharePoint Server 2010 that are installed on the same computer as the report server.

SintassiSyntax

Public Sub ListInstalledSharePointVersions(ByRef VersionTokens() _  
    As String, ByRef Length As Int32, ByRef HRESULT As Int32)  
public void ListReportServersInDatabase (out string[] VersionTokens,   
    out Int32 Length, out Int32 HRESULT);  

ParametriParameters

VersionTokens[]VersionTokens[]
[out] Matrice che contiene i token che rappresentano la versione di un prodotto o di una tecnologia SharePoint compatibile con il server di report installato.[out] An array that contains the tokens that represent the version of a SharePoint product or technology that is compatible with the installed report server.

LunghezzaLength
[out] Lunghezza della matrice dei token di versione.[out] The length of the version tokens array.

HRESULTHRESULT
[out] Valore che indica se la chiamata ha avuto esito positivo o negativo.[out] Value indicating whether the call succeeded or failed.

Valore restituitoReturn Value

Restituisce un HRESULT che indica l'esito positivo o negativo della chiamata al metodo.Returns an HRESULT indicating success or failure of the method call. Un valore pari a 0 indica l'esito positivo della chiamata al metodo.A value of 0 indicates that the method call was successful. Un valore diverso da zero indica che si è verificato un errore.A non-zero value indicates that an error has occurred.

OsservazioniRemarks

Ogni token restituito rappresenta una versione di Windows SharePoint ServicesWindows SharePoint Services o SharePoint Foundation 2010SharePoint Foundation 2010 compatibile con il server di report attualmente installato.Each token that is returned represents a version of Windows SharePoint ServicesWindows SharePoint Services or SharePoint Foundation 2010SharePoint Foundation 2010 that is compatible with the currently installed report server. Se una particolare versione di SharePoint è compatibile con le versioni di SharePoint precedenti, vengono restituiti token per ogni versione di SharePoint compatibile.If a particular version of SharePoint is compatible with previous SharePoint versions, tokens for each compatible SharePoint version are returned.

Di seguito è riportata una tabella dei token di SharePoint restituiti.The following is a table of the SharePoint tokens that are returned.

Token di versioneVersion Tokens DescriptionDescription
WSS_V2_CompatibleWSS_V2_Compatible È installata una versione di Windows SharePoint ServicesWindows SharePoint Services, Windows SharePoint ServicesWindows SharePoint Services, Office SharePoint ServerOffice SharePoint Server, SharePoint Foundation 2010SharePoint Foundation 2010o SharePoint Server 2010SharePoint Server 2010 compatibile con Windows SharePoint ServicesWindows SharePoint Services 2.0.A Windows SharePoint ServicesWindows SharePoint Services, Windows SharePoint ServicesWindows SharePoint Services, Office SharePoint ServerOffice SharePoint Server, SharePoint Foundation 2010SharePoint Foundation 2010, or SharePoint Server 2010SharePoint Server 2010 installation is installed that is compatible with Windows SharePoint ServicesWindows SharePoint Services 2.0.
WSS_V3_CompatibleWSS_V3_Compatible È installata una versione di Windows SharePoint ServicesWindows SharePoint Services, Windows SharePoint ServicesWindows SharePoint Services, Office SharePoint ServerOffice SharePoint Server, SharePoint Foundation 2010SharePoint Foundation 2010o SharePoint Server 2010SharePoint Server 2010 compatibile con Windows SharePoint ServicesWindows SharePoint Services 3.0.A Windows SharePoint ServicesWindows SharePoint Services, Windows SharePoint ServicesWindows SharePoint Services, Office SharePoint ServerOffice SharePoint Server, SharePoint Foundation 2010SharePoint Foundation 2010, or SharePoint Server 2010SharePoint Server 2010 installation is installed that is compatible with Windows SharePoint ServicesWindows SharePoint Services 3.0.
WSS_V4_CompatibleWSS_V4_Compatible È installata una versione di SharePoint Foundation 2010SharePoint Foundation 2010 o SharePoint Server 2010SharePoint Server 2010 compatibile con Office 14.A SharePoint Foundation 2010SharePoint Foundation 2010 or SharePoint Server 2010SharePoint Server 2010 installation is installed that is compatible with Office 14.

RequisitiRequirements

Spazio dei nomi: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Adminroot\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\AdminNamespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Adminroot\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

Vedere ancheSee Also

Membri di MSReportServer_ConfigurationSettingMSReportServer_ConfigurationSetting Members