Share via


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)

Syntax

'Declaration
Public Sub SetInputValue ( _
    key As String, _
    inputValue As String _
)
'Usage
Dim instance As SPBackupRestoreInformation
Dim key As String
Dim inputValue As String

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

Parameters

  • inputValue
    Type: System.String

    The value to which the parameter is set.

Remarks

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

Reference

SPBackupRestoreInformation class

SPBackupRestoreInformation members

Microsoft.SharePoint.Administration.Backup namespace