Click or drag to resize

IDatabaseActualPrefix Property

Actual Prefix of logged-in connection, depends on superoffice.ini and travel status Note: From CRM 5 we changed the prefix from SO to CRM5.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
string ActualPrefix { get; }

Property Value

Type: String
String – the actual connection prefix
Examples

Show the prefix in a messagebox

VB
dim objdb
set objdb =  CreateObject("superofficedb.database")
If Not (objDB is Nothing) Then
    objdb.login  "<userid>", "<password>" ' log in to the database
    msgbox  "prefix: " & objdb.actualprefix, vbinformation + vbokonly,  "supercom"
else
    msgbox  "unable to connect to database"
end if
set objso = nothing

See Also