共用方式為


SPHealthReportCreationData Constructor (String, String, Boolean)

Initializes a new instance of the SPHealthReportCreationData class based on the name of the report and an SQL query that is a stored procedure.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    sql As String, _
    isStoreProcedure As Boolean _
)
'Usage
Dim name As String
Dim sql As String
Dim isStoreProcedure As Boolean

Dim instance As New SPHealthReportCreationData(name, sql, _
    isStoreProcedure)
public SPHealthReportCreationData(
    string name,
    string sql,
    bool isStoreProcedure
)

Parameters

  • isStoreProcedure
    Type: System.Boolean

    true if the query is a stored procedure; otherwise, false.

See Also

Reference

SPHealthReportCreationData Class

SPHealthReportCreationData Members

SPHealthReportCreationData Overload

Microsoft.SharePoint.Administration Namespace