LockIssue Property
The LockIssue property of the SPSite class gets or sets the comment used in locking a site collection.
Property Value
A string that contains the comment.
Example
The following code example uses the LockIssue property to explain why a specified site collection is being write-locked.
This example requires using directives (Imports in Visual Basic) for both the Microsoft.SharePoint and Microsoft.SharePoint.Administration namespaces.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security