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
scope
Type: Microsoft.Office.Server.Search.Administration.ScopeThe scope to be set.
scopeInfo
Type: Microsoft.Office.Server.Search.Administration.ScopeInfoThe scope information.
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.