RankProfileCollection.Create Method (String)
Adds a new rank profile to the rank profile 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 _
) As RankProfile
'Usage
Dim instance As RankProfileCollection
Dim Name As String
Dim returnValue As RankProfile
returnValue = instance.Create(Name)
RankProfile Create(
string Name
)
Parameters
Name
Type: System.StringA string that specifies the name of the rank profile.
Return Value
Type: Microsoft.SharePoint.Search.Extended.Administration.Schema.RankProfile
A RankProfile object.
Exceptions
Exception | Condition |
---|---|
AdminException | if the configuration deployment fails. A specific error message will provide further details along with the exception. |
See Also
Reference
RankProfileCollection Interface
Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace