FullTextIndexCollection.Create Method (String, String)
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 _
) As FullTextIndex
'Usage
Dim instance As FullTextIndexCollection
Dim name As String
Dim description As String
Dim returnValue As FullTextIndex
returnValue = instance.Create(name, description)
FullTextIndex Create(
string name,
string description
)
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.
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