Share via


SPBackupRestoreParameterCollection.Contains method

Gets a value that indicates whether the SPBackupRestoreParameter object with the specified name is in the collection.

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

Syntax

'Declaration
Public Function Contains ( _
    key As String _
) As Boolean
'Usage
Dim instance As SPBackupRestoreParameterCollection
Dim key As String
Dim returnValue As Boolean

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

Parameters

Return value

Type: System.Boolean
true if the parameter is in the collection; false otherwise.

See also

Reference

SPBackupRestoreParameterCollection class

SPBackupRestoreParameterCollection members

Microsoft.SharePoint.Administration.Backup namespace