Enlisting all sites for new documents

If your organization enlists all GCF sites for every new document by default, you can take advantage of the AutoEnlistAllSites function to make that behavior automatic. Defining the function to return True will enlist all sites when the document creation, copy, derive, replace, import, and scan actions occur. For more information about the function, see AutoEnlistAllSites function.

Following is an example:

Function AutoEnlistAllSites()
    AutoEnlistAllSites = True
End Function