Previously that function was using $properties and then creating one SimpleFilterPart but looping over each property and overwriting the filter. Now you pass in the FilterPart as the filter and properties is an array of Properties you want to query for. It replaces the need to call getDefinitionOfObject

I only use it for DataExtensionObjects