Compartir a través de


DataSession Property

Specifies whether an object can run in its own data session with a unique data environment. Available at design time; read-only at run time.

Object.DataSession[ = nSession]

Return Value

  • nSession
    Specifies a numeric value for the DataSession property. The following table lists the values for nSession.

    Setting

    Description

    1

    Default data session. (Default except for Session objects)

    2

    Private data session. Creates a new data session for each instance that is created. (Default for Session objects.)

Remarks

Applies To: Form Object | FormSet Object | _SCREEN System Variable | Session Object | ToolBar Object

See Also

Reference

DataSessionID Property

SET DATASESSION Command

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)