API:Datasnap.DSSession.TDSSessionManager.CreateSession

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateSession<T: TDSSession>(factory: TFactoryMethod;  ASessionLifetime: TDSSessionLifetime; DoNotify: Boolean = True): T; overload;
function CreateSession<T: TDSSession>(factory: TFactoryMethod; userName: string): T; overload;
function CreateSession<T: TDSSession>(factory: TFactoryMethod; userName: string; ASessionLifetime: TDSSessionLifetime): T; overload;
function CreateSession<T: TDSSession>(factory: TFactoryMethod; DoNotify: Boolean = True): T; overload;

C++

template<typename T> T __fastcall CreateSession(_di_TFactoryMethod factory, TDSSessionLifetime ASessionLifetime, bool DoNotify = true)/* overload */;
template<typename T> T __fastcall CreateSession(_di_TFactoryMethod factory, System::UnicodeString userName)/* overload */;
template<typename T> T __fastcall CreateSession(_di_TFactoryMethod factory, System::UnicodeString userName, TDSSessionLifetime ASessionLifetime)/* overload */;
template<typename T> T __fastcall CreateSession(_di_TFactoryMethod factory, bool DoNotify = true)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Datasnap.DSSession TDSSessionManager

Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!