SearchServiceApplication.CreateManagedProperty 方法
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function CreateManagedProperty ( _
managedPropertyName As String, _
type As ManagedDataType, _
owner As SearchObjectOwner _
) As ManagedPropertyInfo
用法
Dim instance As SearchServiceApplication
Dim managedPropertyName As String
Dim type As ManagedDataType
Dim owner As SearchObjectOwner
Dim returnValue As ManagedPropertyInfo
returnValue = instance.CreateManagedProperty(managedPropertyName, _
type, owner)
public ManagedPropertyInfo CreateManagedProperty(
string managedPropertyName,
ManagedDataType type,
SearchObjectOwner owner
)
参数
- managedPropertyName
类型:System.String
返回值
类型:Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo
实现
ISchemaOperations.CreateManagedProperty(String, ManagedDataType, SearchObjectOwner)