SearchServiceApplicationProxy.PutLocationVisualization Method
Adds a new display format for the federated location.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub PutLocationVisualization ( _
id As Integer, _
visualization As Visualization, _
shouldFirstDeleteAllVisualisations As Boolean _
)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim id As Integer
Dim visualization As Visualization
Dim shouldFirstDeleteAllVisualisations As Boolean
instance.PutLocationVisualization(id, _
visualization, shouldFirstDeleteAllVisualisations)
public void PutLocationVisualization(
int id,
Visualization visualization,
bool shouldFirstDeleteAllVisualisations
)
Parameters
id
Type: System.Int32The ID of the federated location.
visualization
Type: Microsoft.Office.Server.Search.Administration.VisualizationThe display format for the federated Search location results.
shouldFirstDeleteAllVisualisations
Type: System.Booleantrue to indicate that all the existing display formats for the specified federated location must be deleted before adding the new display format; otherwise, false.
Implements
ISearchSiteAdministrationServiceApplication.PutLocationVisualization(Int32, Visualization, Boolean)
Exceptions
Exception | Condition |
---|---|
Exception | An error occurred during application execution. |
Remarks
The values of the id and visualization parameters must not be null .
See Also
Reference
SearchServiceApplicationProxy Class