Click or drag to resize
OSIsoft, LLC

AFNotificationContactTemplateSearchFindNotificationContactTemplates Method

Note: This API is now obsolete.

This method will return the AFNotificationContactTemplate objects that match the search tokens.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
[BrowsableAttribute(false)]
[ObsoleteAttribute("This method has been replaced by FindObjects.")]
public IEnumerable<AFNotificationContactTemplate> FindNotificationContactTemplates(
	int startIndex = 0,
	bool fullLoad = false,
	int pageSize = 0
)

Parameters

startIndex (Optional)
Type: SystemInt32
The starting index (zero based) of the items to be returned.
fullLoad (Optional)
Type: SystemBoolean
If , then the returned objects will be full loaded. If , then the returned objects may not be fully loaded and will require another call to the server if additional information about the object is requested that is not already loaded.
pageSize (Optional)
Type: SystemInt32
The page size used for retrieving objects from the server. If this parameter is less than or equal to zero, then the page size will be set to the current value of the CollectionPageSize setting.

Return Value

Type: IEnumerableAFNotificationContactTemplate
Returns an enumerable list of the notification rules found using the search tokens for this search object.
Exceptions
ExceptionCondition
FormatException This exception is thrown if the ThrowOnError property is and there is a format error in the search query.
NotSupportedException This exception is thrown if the ThrowOnError property is and one of the filters is not supported or the query is too complex to be evaluated by the server.
Version Information

AFSDK

Supported in: 2.10, 2.9.5
Obsolete (compiler warning) in 2.10.5
See Also
Enabling Operational Intelligence