BackupDirectory.SearchStarterGpoBackups Method (GPSearchCriteria)
Searches the directory for Starter Group Policy object (GPO) backups.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public StarterGpoBackupCollection SearchStarterGpoBackups(
GPSearchCriteria searchCriteria
)
public:
StarterGpoBackupCollection^ SearchStarterGpoBackups(
GPSearchCriteria^ searchCriteria
)
member SearchStarterGpoBackups :
searchCriteria:GPSearchCriteria -> StarterGpoBackupCollection
Public Function SearchStarterGpoBackups (
searchCriteria As GPSearchCriteria
) As StarterGpoBackupCollection
Parameters
searchCriteria
Type: Microsoft.GroupPolicy.GPSearchCriteriaA GPSearchCriteria that contains the search criteria.
Return Value
Type: Microsoft.GroupPolicy.StarterGpoBackupCollection
Returns StarterGpoBackupCollection. The Starter GPO backups that match the search criteria.
Remarks
You can pass an empty GPSearchCriteria object (one that hasn’t had any criteria added to it) to return all the Starter GPO backups in the directory.
See Also
BackupDirectory Class
Microsoft.GroupPolicy Namespace
Return to top