Hi Anatoly,
I’d like to explain that currently, our forum provides customers with Office 365 Online Services related technical support. Therefore, if you want to setup properties via code, I suggest you post a thread in MSDN Forums to find your answer.
Thanks for your understanding and cooperation.
Best Regards,
Allen Zhang