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