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
Syntaxstring ActualPrefix { get; }
ReadOnly Property ActualPrefix As String
Get
Dim instance As IDatabase
Dim value As String
value = instance.ActualPrefix
property String^ ActualPrefix {
String^ get ();
}
Property Value
Type:
StringString – the actual connection prefix
ExamplesShow the prefix in a messagebox
dim objdb
set objdb = CreateObject("superofficedb.database")
If Not (objDB is Nothing) Then
objdb.login "<userid>", "<password>"
msgbox "prefix: " & objdb.actualprefix, vbinformation + vbokonly, "supercom"
else
msgbox "unable to connect to database"
end if
set objso = nothing
See Also