Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "NetSessionDel" in [All]

netapi32

.

NET_API_STATUS NetSessionDel(

.

    internal static extern uint NetSessionDel(

.

    ''' The NetSessionDel function ends a network session between a server and a workstation.

.

    ''' <remarks>Only members of the Administrators or Server Operators local group can successfully execute the NetSessionDel function.</remarks>

.

    <DllImport("netapi32.dll", SetLastError:=True)> Private Shared Function NetSessionDel(<MarshalAs(UnmanagedType.LPWStr)> ByVal serverName As String, <MarshalAs(UnmanagedType.LPWStr)> ByVal UncClientName As String, <MarshalAs(UnmanagedType.LPWStr)> ByVal username As String) As Integer

.

NetSessionDel(Nothing, Nothing, "USERNAMETODELETE")


 
Access PInvoke.net directly from VS: