SPBackupRestoreInformation.SetInputValue Method

Sets the specified parameter to the specified value, which should be input from a user.

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


Public Sub SetInputValue ( _
    key As String, _
    inputValue As String _
Dim instance As SPBackupRestoreInformation
Dim key As String
Dim inputValue As String

instance.SetInputValue(key, inputValue)
public void SetInputValue(
    string key,
    string inputValue


  • inputValue
    Type: System.String

    The value to which the parameter is set.


The intended purpose of the SetInputValue(String, String) method is that your code obtain inputValue from the user and set the parameter to that value.

If a parameter named by key is not already in the Parameters collection, SetInputValue(String, String) creates one and sets it to inputValue.

See Also


SPBackupRestoreInformation Class

SPBackupRestoreInformation Members

Microsoft.SharePoint.Administration.Backup Namespace