Retrieves reporting information from the management provider, and launches a report by using the configured user settings for default reporting point and method. For example, the report can be launched as a new node in the current console, or in a separate window. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim reportDescription As ReportDescription
Dim view As View
Dim scopeNode As ScopeNode
Dim connectionManager As ConnectionManagerBase

UtilityClass.LaunchReport(reportDescription, view, scopeNode, connectionManager)

Syntax

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

Parameters

reportDescription

[in] ReportDescription object for the report to launch.

view

[in] Microsoft.ManagementConsole.View object.

scopeNode

[in] Microsoft.ManagementConsole.ScopeNode object.

connectionManager

[in] ConnectionManagerBase object.

Exceptions

Exception type Condition
ArgumentNullException

The reportDescription parameter cannot be null.

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