Share via


SPHealthReportStore.Contains method

Verifies whether a report exists or not.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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