共用方式為


SPHealthReportStore.Contains Method

Verifies whether a report exists or not.

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

Syntax

'Declaration
Public Function Contains ( _
    name As String _
) As Boolean
'Usage
Dim instance As SPHealthReportStore
Dim name As String
Dim returnValue As Boolean

returnValue = instance.Contains(name)
public bool Contains(
    string name
)

Parameters

Return Value

Type: System.Boolean
Returns Booleantrue if the report exists.

See Also

Reference

SPHealthReportStore Class

SPHealthReportStore Members

Microsoft.SharePoint.Administration Namespace