共用方式為


SPHealthReportCreationData.ColumnNames Property

Gets or sets the column names to use in the report.

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

Syntax

'Declaration
Public Property ColumnNames As IList(Of String)
    Get
    Set
'Usage
Dim instance As SPHealthReportCreationData
Dim value As IList(Of String)

value = instance.ColumnNames

instance.ColumnNames = value
public IList<string> ColumnNames { get; set; }

Property Value

Type: System.Collections.Generic.IList<String>
A list of column names. The list should in the same order as the SQL result columns.

Remarks

If this is property is set, the returned SQL result columns names are used.

See Also

Reference

SPHealthReportCreationData Class

SPHealthReportCreationData Members

Microsoft.SharePoint.Administration Namespace