Partager via


ScopesManager.SetScopeInfoOnScope Method

Sets the detailed information about the specified scope with the specified scope information.

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

Syntax

'Declaration
Protected Sub SetScopeInfoOnScope ( _
    scope As Scope, _
    scopeInfo As ScopeInfo _
)
'Usage
Dim scope As Scope
Dim scopeInfo As ScopeInfo

Me.SetScopeInfoOnScope(scope, scopeInfo)
protected void SetScopeInfoOnScope(
    Scope scope,
    ScopeInfo scopeInfo
)

Parameters

Exceptions

Exception Condition
DeletedConcurrencyException

The scopeInfo is marked as deleted.

Remarks

If the scopeInfo is marked as deleted, this method marks the scope as deleted before it throws the exception.

See Also

Reference

ScopesManager Class

ScopesManager Members

Microsoft.Office.Server.Search.Administration Namespace