Rock.Store.StoreService.OrganizationIsConfigured C# (CSharp) Méthode

OrganizationIsConfigured() public static méthode

Organizations the is configured.
public static OrganizationIsConfigured ( ) : bool
Résultat bool
        public static bool OrganizationIsConfigured()
        {
            var globalAttributes = Rock.Web.Cache.GlobalAttributesCache.Read();
            string storeKey = globalAttributes.GetValue( "StoreOrganizationKey" );

            if ( string.IsNullOrWhiteSpace( storeKey ) )
            {
                return false;
            }
            else
            {
                return true;
            }
        }