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
name
Type: System.StringThe report name.
Return value
Type: System.Boolean
Returns Booleantrue if the report exists.