IADsTSUserEx::BrokenConnectionAction property

A value that specifies the action to take when a Remote Desktop Services session limit is reached.

This property is read/write.

Syntax


HRESULT put_BrokenConnectionAction(
  [in]  LONG NewVal
);

HRESULT get_BrokenConnectionAction(
  [out] LONG *pNewVal
);

Property value

The value is 1 if the client session should be terminated, and 0 if the client session should be disconnected.

Error codes

These methods support the standard return values, including S_OK. For more information, see ADSI Error Codes.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Tsuserex.h (include Tsuserex.h or Tsuserex_i.c)

Type library

Tsuserex.tlb

DLL

Tsuserex.dll

See also

IADsTSUserEx

 

 

Show: