Retrieves reporting information from the management provider, and launches a report for a selected result object and associated query strings. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim view As View
Dim scopeNode As ScopeNode
Dim connectionManager As ConnectionManagerBase
Dim selectedResultObject As IResultObject
Dim queryString As List(Of String)

UtilityClass.LaunchReport(view, scopeNode, connectionManager, selectedResultObject, queryString)

Syntax

Visual Basic
<PermissionSetAttribute(SecurityAction.LinkDemand, Name:="FullTrust")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name:="FullTrust")> _
Public Shared Sub LaunchReport ( _
		view As View, _
		scopeNode As ScopeNode, _
		connectionManager As ConnectionManagerBase, _
		selectedResultObject As IResultObject, _
		queryString As List(Of String) _
)
C#
[PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust")] 
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust")] 
public static void LaunchReport (
		View view,
		ScopeNode scopeNode,
		ConnectionManagerBase connectionManager,
		IResultObject selectedResultObject,
		List<string> queryString
)
C++
[PermissionSetAttribute(SecurityAction::LinkDemand, Name=L"FullTrust")] 
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name=L"FullTrust")] 
public:
static void LaunchReport (
		View^ view, 
		ScopeNode^ scopeNode, 
		ConnectionManagerBase^ connectionManager, 
		IResultObject^ selectedResultObject, 
		List<String^>^ queryString
)
J#
/** @attribute PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust") */ 
/** @attribute PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust") */ 
public static void LaunchReport (
		View view, 
		ScopeNode scopeNode, 
		ConnectionManagerBase connectionManager, 
		IResultObject selectedResultObject, 
		List<String> queryString
)
JScript
public static function LaunchReport (
		view : View, 
		scopeNode : ScopeNode, 
		connectionManager : ConnectionManagerBase, 
		selectedResultObject : IResultObject, 
		queryString : List<String>
)

Parameters

view

[in] Microsoft.ManagementConsole.View object.

scopeNode

[in] Microsoft.ManagementConsole.ScopeNode object.

connectionManager

[in] ConnectionManagerBase object.

selectedResultObject

[in] IResultObject interface for the selected result object.

queryString

[in] System.Collections.Generic.List object that represents query strings.

Exceptions

Exception type Condition
NotSupportedException

The class is not supported.

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.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also