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
key
Type: System.StringA unique identifier for the resource.
value
Type: System.ObjectThe resource.
Return Value
Type: System.Boolean
[True] if and only if the addition is a replacement of the resource.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration Namespace