SPIssueList.CreateIssueReport method (String, String, UInt32, UInt32, String, String, SPIssueList.ReportType, UInt32, UInt32, Object)

Obsolete. Creates a report for an Issues list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function CreateIssueReport ( _
    Category As String, _
    Status As String, _
    AssignedToUserId As UInteger, _
    CreatedByUserId As UInteger, _
    StartDate As String, _
    EndDate As String, _
    type As SPIssueList.ReportType, _
    <OutAttribute> ByRef rowsCount As UInteger, _
    <OutAttribute> ByRef colsCount As UInteger, _
    <OutAttribute> ByRef reportdata As Object _
) As Boolean
'Usage
Dim instance As SPIssueList
Dim Category As String
Dim Status As String
Dim AssignedToUserId As UInteger
Dim CreatedByUserId As UInteger
Dim StartDate As String
Dim EndDate As String
Dim type As SPIssueList.ReportType
Dim rowsCount As UInteger
Dim colsCount As UInteger
Dim reportdata As Object
Dim returnValue As Boolean

returnValue = instance.CreateIssueReport(Category, _
    Status, AssignedToUserId, CreatedByUserId, _
    StartDate, EndDate, type, rowsCount, _
    colsCount, reportdata)
public bool CreateIssueReport(
    string Category,
    string Status,
    uint AssignedToUserId,
    uint CreatedByUserId,
    string StartDate,
    string EndDate,
    SPIssueList.ReportType type,
    out uint rowsCount,
    out uint colsCount,
    out Object reportdata
)

Parameters

  • Category
    Type: System.String

    A string that specifies a category for the issue. Set to null to return all categories in the report.

  • Status
    Type: System.String

    A string that specifies the status for the issue. Set to null to create a report that includes all statuses for an issue.

  • AssignedToUserId
    Type: System.UInt32

    An unsigned 32-bit integer that specifies the ID of the user to whom the issue is assigned. Set to -1 to create a report on issues assigned to all users.

  • CreatedByUserId
    Type: System.UInt32

    An unsigned 32-bit integer that specifies the ID of the user who created the issue. Set to -1 to create a report on issues created by all users.

  • StartDate
    Type: System.String

    A string that specifies the start date for the issue according to the Coordinated Universal Time (UTC) in the format yyyymmddThhmmssZ.

  • EndDate
    Type: System.String

    A string that specifies the end date for the issue according to the Coordinated Universal Time (UTC) in the format yyyymmddThhmmssZ.

  • type
    Type: Microsoft.SharePoint.SPIssueList.ReportType

    A Microsoft.SharePoint.SPIssueList.ReportType value that specifies the kind of report to return. The following table shows which of the other parameters to specify for this method based on the type of report that is specified.

    Type

    Parameters

    ByCategory

    Category, Status

    ByOwner

    AssignedToUserID, Status

    CreationTimeline

    Category, CreatedByUserID, StartDate, EndDate

    StatusTimeline

    Category, AssignedToUserID, StartDate, EndDate, Status

  • rowsCount
    Type: System.UInt32

    An unsigned 32-bit integer that returns the number of rows that are used in the report.

  • colsCount
    Type: System.UInt32

    An unsigned 32-bit integer that returns the number of columns that are used in the report.

  • reportdata
    Type: System.Object

    An object that returns the data in the report.

Return value

Type: System.Boolean
true if the report is successfully created; otherwise, false.

See also

Reference

SPIssueList class

SPIssueList members

CreateIssueReport overload

Microsoft.SharePoint namespace