Share via


FullTextIndexMappingCollection.Create Method

Adds a new full text index mapping.

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

Syntax

'Declaration
Function Create ( _
    fti As FullTextIndex, _
    importanceLevel As Integer _
) As FullTextIndexMapping
'Usage
Dim instance As FullTextIndexMappingCollection
Dim fti As FullTextIndex
Dim importanceLevel As Integer
Dim returnValue As FullTextIndexMapping

returnValue = instance.Create(fti, importanceLevel)
FullTextIndexMapping Create(
    FullTextIndex fti,
    int importanceLevel
)

Parameters

  • importanceLevel
    Type: System.Int32

    An integer that specifies the full text index importance level.

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Schema.FullTextIndexMapping
A FullTextIndexMapping object that represents the created full text index mapping.

Exceptions

Exception Condition
AdminException

if the configuration deployment fails. A specific error message will provide further details along with the exception.

See Also

Reference

FullTextIndexMappingCollection Interface

FullTextIndexMappingCollection Members

Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace