How to disable the transmission of messages from the server to the client?

Hello everyone. I want my dedicated server connected to the database when you start the game. It connects successfully, but for some reason he says this to all customers. connect function is in ActorComponent. Prompt me how to disable the transfer action from the server to all clients? I know in the Actor has NetLoadOnClient, and how can I use this in ActorComponent?