Acquire Method
The Acquire method of the TopologyLock class locks the topology of a server farm for an exclusive process by calling the proc_acquirePortalLock stored procedure in the configuration database.
Return Value
true if the attempt to acquire a lock succeeds; otherwise, false.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security