SPIssueList.CreateIssueReport method (String, String, UInt32, UInt32, String, String, SPIssueList.ReportType, Boolean, UInt32, UInt32, Object)
NOTE: This API is now obsolete.
Creates a report for an Issues list.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("CreateIssueReport is no longer supported; It always returns true, 0 rowsCount, 0 colsCount, null reportdata.", _
False)> _
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, _
bUseIntlDate As Boolean, _
<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 bUseIntlDate As Boolean
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, bUseIntlDate, _
rowsCount, colsCount, reportdata)
[ObsoleteAttribute("CreateIssueReport is no longer supported; It always returns true, 0 rowsCount, 0 colsCount, null reportdata.",
false)]
public bool CreateIssueReport(
string Category,
string Status,
uint AssignedToUserId,
uint CreatedByUserId,
string StartDate,
string EndDate,
SPIssueList.ReportType type,
bool bUseIntlDate,
out uint rowsCount,
out uint colsCount,
out Object reportdata
)
Parameters
Category
Type: System.StringA string that specifies a category for the issue. Set to a null reference (Nothing in Visual Basic) to return all categories in the report.
Status
Type: System.StringA string that specifies the status for the issue. Set to a null reference (Nothing in Visual Basic) to create a report that includes all statuses for an issue.
AssignedToUserId
Type: System.UInt32An 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.UInt32An 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.StringA string that specifies the start date for the issue according to the Coordinated Universal Time (UTC) in the format yyyymmddThhmmssZ.
EndDate
Type: System.StringA 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.ReportTypeA 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
- bUseIntlDate
Type: System.Boolean
rowsCount
Type: System.UInt32An unsigned 32-bit integer that returns the number of rows that are used in the report.
colsCount
Type: System.UInt32An unsigned 32-bit integer that returns the number of columns that are used in the report.
reportdata
Type: System.ObjectAn object that returns the data in the report.
Return value
Type: System.Boolean
Obsolete. Always returns true.