Share via


SPHealthReportCreationData.Query Property

Gets or sets the SQL select statement or stored procedure used to generate the report.

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

Syntax

'Declaration
Public Property Query As String
    Get
    Set
'Usage
Dim instance As SPHealthReportCreationData
Dim value As String

value = instance.Query

instance.Query = value
public string Query { get; set; }

Property Value

Type: System.String
A SQL select statement or the name of a stored procedure.

See Also

Reference

SPHealthReportCreationData Class

SPHealthReportCreationData Members

Microsoft.SharePoint.Administration Namespace