Partilhar via


LocationConfiguration.Type Property

Specifies the type of federated search location. This corresponds to the LocationType element of the OpenSearchDescription Element (Location Definition) of the federated location definition file.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property Type As LocationType
    Get
    Set
'Usage
Dim instance As LocationConfiguration
Dim value As LocationType

value = instance.Type

instance.Type = value
[DataMemberAttribute]
public LocationType Type { get; set; }

Property Value

Type: Microsoft.Office.Server.Search.Administration.LocationType

Remarks

You can specify one of the following location types:

  • LocalSharePoint: Use for local SharePoint sites. This is the default value.

  • OpenSearch: Use for remote SharePoint sites and other OpenSearch providers.

See Also

Reference

LocationConfiguration Class

LocationConfiguration Members

Microsoft.Office.Server.Search.Administration Namespace