SearchConfigurationPortability.DeleteSearchConfiguration method
This method deletes the search settings at the specified site server level.
Namespace: Microsoft.SharePoint.Client.Search.Portability
Assembly: Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)
Syntax
'Declaration
Public Sub DeleteSearchConfiguration ( _
owningScope As SearchObjectOwner, _
searchConfiguration As String _
)
'Usage
Dim instance As SearchConfigurationPortability
Dim owningScope As SearchObjectOwner
Dim searchConfiguration As String
instance.DeleteSearchConfiguration(owningScope, _
searchConfiguration)
public void DeleteSearchConfiguration(
SearchObjectOwner owningScope,
string searchConfiguration
)
Parameters
owningScope
Type: Microsoft.SharePoint.Client.Search.Administration.SearchObjectOwnerSpecifies the site server level at which to delete the search settings.
searchConfiguration
Type: System.StringSpecifies the search settings that MUST be deleted.
See also
Reference
SearchConfigurationPortability class