please dont rip this site Prev Next

NetReplImportDirUnlock info  Overview  Group

The NetReplImportDirUnlock function unlocks a directory so that replication to it can resume. This function decrements the lock reference count for the specified directory.

Security Requirements

Only the Administrators local group or replicator group membership is required to successfully execute NetReplImportDirUnlock.

NET_API_STATUS NetReplImportDirUnlock(

    LPTSTR servername,

    LPTSTR dirname,

    DWORD unlockforce

   );

Parameters

servername
Pointer to a null-terminated Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.
dirname
Pointer to a null-terminated Unicode string containing the directory name to unlock.
unlockforce
A value that indicates the force level necessary to unlock the directory.

Force levels:

REPL_UNLOCK_NOFORCE
Unlocks the directory by decrementing the lock reference count. The lock reference count must return to 0, or the directory will remain locked.
REPL_UNLOCK_FORCE
Unlocks the directory completely by removing all outstanding locks on the directory. The lock reference count is set to 0.

See Also

NetReplImportDirLock 


file: /Techref/os/win/api/win32/func/src/f62_5.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/14 12:41,
TOP NEW HELP FIND: 
3.133.120.10:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/techref/os/win/api/win32/func/src/f62_5.htm"> NetReplImportDirUnlock</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?