MethodInstance.GetFilters Method
NOTE: This API is now obsolete.
Gets the filters associated with this MethodInstance object.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Public Function GetFilters As FilterCollection
'Usage
Dim instance As MethodInstance
Dim returnValue As FilterCollection
returnValue = instance.GetFilters()
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public FilterCollection GetFilters()
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.FilterCollection
A FilterCollection object.
Remarks
Even though Filters are associated with Methods, DefaultValues are associated with MethodInstnces, so putting this on the MethodInstance object allows it to return a collection of Filters that are all pre-initialized with the appropriate default values.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace