The proc_GetSiteFlags stored procedure is invoked to return the Site Collection Flags (section set for a specified site collection.

 PROCEDURE proc_GetSiteFlags(
       @WebSiteId                     uniqueidentifier,
       @RequestGuid                   uniqueidentifier = NULL OUTPUT

@WebSiteId: The Site Collection Identifier (section of the site collection for which to retrieve Site Collection Flags.

@RequestGuid: The optional request identifier for the current request.

Return Values: This stored procedure MUST return an integer return code of 0.

This stored procedure MUST return the following result set.