Share via


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

  • searchConfiguration
    Type: System.String

    Specifies the search settings that MUST be deleted.

See also

Reference

SearchConfigurationPortability class

SearchConfigurationPortability members

Microsoft.SharePoint.Client.Search.Portability namespace