Share via


ExemptUserAgentCollection.Remove Method (String)

Removes a user agent from the ExemptUserAgentCollection collection.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Sub Remove ( _
    partialExemptUserAgent As String _
)
'Usage
Dim instance As ExemptUserAgentCollection
Dim partialExemptUserAgent As String

instance.Remove(partialExemptUserAgent)
public void Remove(
    string partialExemptUserAgent
)

Parameters

  • partialExemptUserAgent
    Type: System.String
    A string representing the user agent to receive InfoPath files instead of a Web page.

Remarks

Remove user agents from the collection by ID or name in order to stop the associated search bot from indexing InfoPath files on the server.

See Also

Reference

ExemptUserAgentCollection Class

ExemptUserAgentCollection Members

Remove Overload

Microsoft.Office.InfoPath.Server.Administration Namespace