Click or drag to resize

IUrlId Property

internal id of the URL record The id of this URL relative to the owner. In most cases the same as Rank.

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

Property Value

Type: Int32
Long – number
Examples

Id

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

This returns all URLs on contact with contact_id = 2, and displays the Rank, Id and UrlId.

VB
Dim objSO
Set objSO = CreateObject("SuperOfficeDB.Database")
If not (objSO is nothing) Then
    objSO.login "<UserID>", "<password>"
    set cont = objSO.GetContact(2)
    set urls = cont.urls
    for each url in urls
        item = item & "Urls rank: " & url.rank & " "
        item = item & "Urls id: " & url.id & " "
        item = item & "Urls urlid: " & url.urlid & vbCrLf
    next
    MsgBox item, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also