SPC010213: Do not set SPSite.ReadLocked property |
SPC010213: Do not set SPSite.ReadLocked property |
Property SPSite.ReadLocked is reserved for internal and is not intended to be used directly from your code. Use the IsReadLocked property instead.
TypeName: | DoNotCallSPSiteReadLocked |
CheckId: | SPC010213 |
Severity: | CriticalWarning |
Type: | AssemblyFileReference |
Use SPSite.IsReadLocked instead (for SP2013) or use the SPSiteAdministration.ReadLocked property of the SPSiteAdministration class (for SP2010) instead .
Bad Practice:
comments powered by Disqus
Copyright © 2013 RENCORE AB. All Rights Reserved
Disclaimer: The views and opinions expressed in this documentation and in SPCAF are those of the creators and do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. All trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners. SharePoint Code Analysis Framework, Version 4.5.2.7855, see www.spcaf.com for more information |