### [Apq\.Cfg\.Database](Apq.Cfg.Database.md 'Apq\.Cfg\.Database').[DatabaseCfgSource](Apq.Cfg.Database.DatabaseCfgSource.md 'Apq\.Cfg\.Database\.DatabaseCfgSource') ## DatabaseCfgSource\.IsPrimaryWriter Property 获取是否为主要写入源,用于标识当多个可写源存在时的主要写入目标 ```csharp public bool IsPrimaryWriter { get; } ``` Implements [IsPrimaryWriter](https://learn.microsoft.com/en-us/dotnet/api/apq.cfg.sources.icfgsource.isprimarywriter 'Apq\.Cfg\.Sources\.ICfgSource\.IsPrimaryWriter') #### Property Value [System\.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean 'System\.Boolean')