Freigeben über


UtilityClass.LaunchReport Method (ReportDescription, View, ScopeNode, ConnectionManagerBase)

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

'Usage
Dim reportDescription As ReportDescription
Dim view As View
Dim scopeNode As ScopeNode
Dim connectionManager As ConnectionManagerBase

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

Syntax

'Declaration
<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 _
)
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust")] 
[PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust")] 
public static void LaunchReport (
    ReportDescription reportDescription,
    View view,
    ScopeNode scopeNode,
    ConnectionManagerBase connectionManager
)
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name=L"FullTrust")] 
[PermissionSetAttribute(SecurityAction::LinkDemand, Name=L"FullTrust")] 
public:
static void LaunchReport (
    ReportDescription^ reportDescription, 
    View^ view, 
    ScopeNode^ scopeNode, 
    ConnectionManagerBase^ connectionManager
)
/** @attribute PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust") */ 
/** @attribute PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust") */ 
public static void LaunchReport (
    ReportDescription reportDescription, 
    View view, 
    ScopeNode scopeNode, 
    ConnectionManagerBase connectionManager
)
public static function LaunchReport (
    reportDescription : ReportDescription, 
    view : View, 
    scopeNode : ScopeNode, 
    connectionManager : ConnectionManagerBase
)

Parameters

  • view
    [in] Microsoft.ManagementConsole.View object.
  • scopeNode
    [in] Microsoft.ManagementConsole.ScopeNode 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

Reference

UtilityClass Class
UtilityClass Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
ReportDescription
ConnectionManagerBase