Share via


Repository.PutResource Method

Adds a resource to the repository.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function PutResource ( _
    key As String, _
    value As Object _
) As Boolean
'Usage
Dim instance As Repository
Dim key As String
Dim value As Object
Dim returnValue As Boolean

returnValue = instance.PutResource(key, _
    value)
bool PutResource(
    string key,
    Object value
)

Parameters

Return Value

Type: System.Boolean
[True] if and only if the addition is a replacement of the resource.

See Also

Reference

Repository Interface

Repository Members

Microsoft.SharePoint.Search.Extended.Administration Namespace