Share via


SchemaContext Constructor (String, String)

Creates the context object.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Public Sub New ( _
    configFile As String, _
    endPointName As String _
)
'Usage
Dim configFile As String
Dim endPointName As String

Dim instance As New SchemaContext(configFile, _
    endPointName)
public SchemaContext(
    string configFile,
    string endPointName
)

Parameters

  • configFile
    Type: System.String

    The configuration file to be used.

  • endPointName
    Type: System.String

    The name of the endpoint to use when connecting to the back-end service. The endpoint must be defined in the specified configuration file.

Remarks

The provided endpoint name and configuration file will be used to connect to the FAST Search Server 2010 for SharePoint farm back-end.

See Also

Reference

SchemaContext Class

SchemaContext Members

SchemaContext Overload

Microsoft.SharePoint.Search.Extended.Administration Namespace