Condividi tramite


ServerName Property

Contains the full path and file name for an Automation server. Read-only at run time.

ApplicationObject.ServerName

Remarks

Applies To: Application Object | _VFP System Variable

The ServerName property makes it possible for you to determine the directory from which an in-process .dll or an out-of-process .exe Automation server was started, facilitating referencing of other files in distributed applications. You can also use ServerName to determine the directory from which a Visual FoxPro .EXE application was started.

The ServerName property for a development version of Visual FoxPro started in an interactive session contains the same value as the FullName property.

See Also

Reference

FullName Property

StartMode Property

Other Resources

Properties (Visual FoxPro)