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)
Syntax
'Declaration
Public Function GetParameter ( _
key As String _
) As String
'Usage
Dim instance As SPBackupRestoreInformation
Dim key As String
Dim returnValue As String
returnValue = instance.GetParameter(key)
public string GetParameter(
string key
)
Parameters
key
Type: System.StringThe lookup key for the parameter.
Return value
Type: System.String
A String that represents the value of the parameter named by key.
Remarks
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
Reference
SPBackupRestoreInformation class