|
TerminalServicesHelperWTSOpenServer Method |
Namespace: Xcalibur.NativeMethods.V2.TerminalServicesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [DllImportAttribute("wtsapi32.dll", SetLastError = true)]
public static IntPtr WTSOpenServer(
string serverName
)
<DllImportAttribute("wtsapi32.dll", SetLastError := true>]
Public Shared Function WTSOpenServer (
serverName As String
) As IntPtr
public:
[DllImportAttribute(L"wtsapi32.dll", SetLastError = true)]
static IntPtr WTSOpenServer(
String^ serverName
)
[<DllImportAttribute("wtsapi32.dll", SetLastError = true)>]
static member WTSOpenServer :
serverName : string -> IntPtr
Parameters
- serverName String
- Pointer to a null-terminated string specifying the NetBIOS name of
the RD Session Host server.
Return Value
IntPtrIf the function succeeds, the return value is nonzero. To determine whether the
function adjusted all of the specified privileges, call
.
See Also