SourceGroup.RemoveSource method
Removes the specified Source object from this SourceGroup object.
Namespace: Microsoft.Office.Server.Discovery
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Sub RemoveSource ( _
sourceToRemove As Source _
)
'Usage
Dim instance As SourceGroup
Dim sourceToRemove As Source
instance.RemoveSource(sourceToRemove)
public void RemoveSource(
Source sourceToRemove
)
Parameters
sourceToRemove
Type: Microsoft.Office.Server.Discovery.SourceThe Source object to be removed.
Remarks
If the sourceToRemove parameter is null or does not exist in the source group an exception will be thrown.