ServerClass Property

Contains the name of a server class in a project. Read-only at design time and run time.

Object.ServerClass

Remarks

Applies To: Server Object

The names of server classes in a project are also displayed in the Servers tab of the ProjectInformation dialog box.

Automation servers are created in Visual FoxPro by adding classes defined as OLEPUBLIC to a project, and then building an executable file (.exe) or dynamic link library (.dll) from the project. You can have as many OLEPUBLIC classes as you want in the project and they can be defined in program files (.prg) or class libraries (.vcx).

For information about creating custom Automation servers, see How to: Create Automation Servers.

See Also

Reference

CREATE CLASS Command

DEFINE CLASS Command

ServerClassLibrary Property

Other Resources

Properties (Visual FoxPro)