[This is preliminary documentation and is subject to change.]

Saves a newly created filter in the database

Namespace:  OfficeClip.DBLayer.Tracker
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int SaveFilter(
	string FilterString,
	string displayString,
	int projectId,
	string filterName,
	int currentUserId
)
Visual Basic (Declaration)
Public Function SaveFilter ( _
	FilterString As String, _
	displayString As String, _
	projectId As Integer, _
	filterName As String, _
	currentUserId As Integer _
) As Integer
Visual C++
public:
int SaveFilter(
	String^ FilterString, 
	String^ displayString, 
	int projectId, 
	String^ filterName, 
	int currentUserId
)

Parameters

FilterString
Type: System..::.String
displayString
Type: System..::.String
projectId
Type: System..::.Int32
The database unique id of the Project.
filterName
Type: System..::.String
The name of the filter to be stored. If no name is mentioned, then the filter will be stored as the Current filter.
currentUserId
Type: System..::.Int32
the id of the current user

Return Value

The database id of the new filter is returned.

See Also