다음을 통해 공유


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

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

SPBackupRestoreInformation Members

Microsoft.SharePoint.Administration.Backup Namespace