GPRsop.GenerateReport Method (ReportType)
Generates a report on the Resultant Set of Policy (RSoP) data.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public string GenerateReport(
ReportType reportType
)
public:
String^ GenerateReport(
ReportType reportType
)
member GenerateReport :
reportType:ReportType -> string
Public Function GenerateReport (
reportType As ReportType
) As String
Parameters
reportType
Type: Microsoft.GroupPolicy.ReportTypeOne of the ReportType values that specifies whether the report is generated in HTML or XML format.
Return Value
Type: System.String
Returns String. The report data formatted in either HTML or XML.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The GPRsop is disposed. |
See Also
GenerateReport Overload
GPRsop Class
Microsoft.GroupPolicy Namespace
Return to top