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)


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

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


Return Value

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


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


QueryTopologyCollection Class

QueryTopologyCollection Members

Create Overload

Microsoft.Office.Server.Search.Administration Namespace