Source.GetSource(Case, SourceType, String) Source.GetSource(Case, SourceType, String) Method

Definition

Creates a Source object.

public:
 static Microsoft::Office::Server::Discovery::Source ^ GetSource(Microsoft::Office::Server::Discovery::Case ^ currentCase, Microsoft::Office::Server::Discovery::SourceType sourceType, System::String ^ filter);
public static Microsoft.Office.Server.Discovery.Source GetSource (Microsoft.Office.Server.Discovery.Case currentCase, Microsoft.Office.Server.Discovery.SourceType sourceType, string filter);
Parameters
currentCase
Case Case

Identifies the Case object used by this Source object.

sourceType
SourceType SourceType

Specifies the type of source associated with this Source object.

filter
String String

A partial or complete query of the container that identifies this Source object.

Returns

A Source object containing the values for the specified parameters.

Remarks

Throws an exception if a valid source cannot be created by using the supplied parameters.

Applies to