Metodo GetReportServerUrls (MSReportServer_Instance WMI)
Restituisce un elenco degli URL che è possibile utilizzare per accedere al server di report e alla gestione report.
Sintassi
Public Sub GetReportServerUrls (ByRef ApplicationName() As String, ByRef URLs()_
As String, ByRef Length As Int32, ByRef HRESULT As Int32)
public void GetReportServerUrls(out string[] applicationName,
out string[] URLs, out int length, out int HRESULT);
Parametri
ApplicationName[]
Matrice che contiene le applicazioni installate. I valori sono ReportServerWebService e ReportManager.URLs[]
Matrice che contiene gli URL registrati correttamente.Length
Valore integer che contiene la lunghezza delle matrici restituite.HRESULT
Valore che indica l'esito positivo o un codice di errore.
Osservazioni
I metodi esposti dagli oggetti di gestione WMI vengono chiamati tramite la funzione InvokeMethod. Per ulteriori informazioni, vedere "Executing Methods on Management Objects" nella documentazione di Microsoft .NET Framework WMI.
Requisiti
Spazio dei nomi: root\Microsoft\SqlServer\ReportServer\<NomeIstanza>\v10
Piattaforma: Windows Server 2003, Datacenter Edition; Windows Server 2003, Enterprise Edition; Windows Server 2003, Standard Edition; Windows Vista; Windows XP Professional Service Pack 2 (SP2) o Service Pack 1 (SP1) o Windows 2000 (tutte le versioni)