共用方式為


ServerClassLibrary Property

Contains the name of the class library or program containing a server class. Read-only at design time and run time.

Object.ServerClassLibrary

Remarks

The name of the class library or program containing the server class is also displayed in the Server tab of the Project Information 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 Creating Automation Servers.

See Also

CREATE CLASS | DEFINE CLASS | ServerClass Property

Applies To: Server Object