FullTextIndexCollection.Create Method (String, String, Boolean, Boolean)
Adds a new full text index to the full text index collection.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Schema
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function Create ( _
name As String, _
description As String, _
stemmingEnabled As Boolean, _
deleteDisallowed As Boolean _
) As FullTextIndex
'Usage
Dim instance As FullTextIndexCollection
Dim name As String
Dim description As String
Dim stemmingEnabled As Boolean
Dim deleteDisallowed As Boolean
Dim returnValue As FullTextIndex
returnValue = instance.Create(name, description, _
stemmingEnabled, deleteDisallowed)
FullTextIndex Create(
string name,
string description,
bool stemmingEnabled,
bool deleteDisallowed
)
Parameters
name
Type: System.StringA string that specifies the name of the full text index.
description
Type: System.StringA string that specifies the description of the full text index.
stemmingEnabled
Type: System.BooleanA Boolean value indicating whether to enable stemming for this full text index.
deleteDisallowed
Type: System.BooleanA Boolean value indicating whether the full text index can be deleted.
Return Value
Type: Microsoft.SharePoint.Search.Extended.Administration.Schema.FullTextIndex
A FullTextIndex object that represents the created full text index.
Exceptions
Exception | Condition |
---|---|
AdminException | if the configuration deployment fails. A specific error message will provide further details along with the exception. |
See Also
Reference
FullTextIndexCollection Interface
FullTextIndexCollection Members
Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace