SPBackupRestoreInformation.GetParameter Method

Returns the value assigned to the specified key in an internal store of key-value pairs.

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


Public Function GetParameter ( _
    key As String _
) As String
Dim instance As SPBackupRestoreInformation
Dim key As String
Dim returnValue As String

returnValue = instance.GetParameter(key)
public string GetParameter(
    string key


Return Value

Type: System.String
A String that represents the value of the parameter named by key.


This method is primarily used in implementations of OnPreRestore and OnRestore.

Contrast GetParameter(String) with GetParameterObject(String). the latter returns the parameter value as an SPBackupRestoreParameter object.

See Also


SPBackupRestoreInformation Class

SPBackupRestoreInformation Members

Microsoft.SharePoint.Administration.Backup Namespace