ISchemaOperations.ImportSchema method
Import an owner-specific schema.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Function ImportSchema ( _
owner As SearchObjectOwner, _
importSchema As SearchSchemaConfigurationSettings _
) As IEnumerable(Of String)
'Usage
Dim instance As ISchemaOperations
Dim owner As SearchObjectOwner
Dim importSchema As SearchSchemaConfigurationSettings
Dim returnValue As IEnumerable(Of String)
returnValue = instance.ImportSchema(owner, _
importSchema)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
IEnumerable<string> ImportSchema(
SearchObjectOwner owner,
SearchSchemaConfigurationSettings importSchema
)
Parameters
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe owner to create the schema of.
importSchema
Type: SearchSchemaConfigurationSettingsA SearchSchemaConfigurationSettings object returned by the ExportSchema(SearchObjectOwner) method.
Return value
Type: System.Collections.Generic.IEnumerable<String>