Share via


QueryTopologyCollection.Create Method (QueryTopology)

Creates a new query topology and then associates index partitions and query components from an existing query topology with the new query topology.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function Create ( _
    topology As QueryTopology _
) As QueryTopology
'Usage
Dim instance As QueryTopologyCollection
Dim topology As QueryTopology
Dim returnValue As QueryTopology

returnValue = instance.Create(topology)
public QueryTopology Create(
    QueryTopology topology
)

Parameters

Return Value

Type: Microsoft.Office.Server.Search.Administration.QueryTopology
The query topology that was created.

Remarks

The state of the newly created query topology is set to inactive.

An InvalidOperationException is thrown if the type of the current Search service application is ExtendedConnector.

An ArgumentNullException is thrown if the value of topology is null.

See Also

Reference

QueryTopologyCollection Class

QueryTopologyCollection Members

Create Overload

Microsoft.Office.Server.Search.Administration Namespace