COM component

GetBalance

Obtains the available credits on an account.

GetBalance ( Balance As Variant ) As ResultCodes

Parameters:

Balance Output Number of remaining credits
ResultCode Return

See ResultCodes

ASP Example:

<%
Dim IntelliSMS
Set IntelliSMS = Server.CreateObject("IntelliSoftware.IntelliSMS")

IntelliSMS.AccessKey = "Yva$ER%Uhs+UU[MzwEYe"
IntelliSMS.SecretKey = "F{kQ^s`wVpm!EU~Bx8yB^A$N$[l{pxJA"

Dim Balance

ResultCode = IntelliSMS.GetBalance ( Balance )
%>

VB Example:

Dim IntelliSMS As New INTELLISMSLib.IntelliSMS

IntelliSMS.AccessKey = "Yva$ER%Uhs+UU[MzwEYe"
IntelliSMS.SecretKey = "F{kQ^s`wVpm!EU~Bx8yB^A$N$[l{pxJA"

Dim Balance As Variant
Dim Result As INTELLISMSLib.ResultCodes

Result = IntelliSMS.GetBalance ( Balance )
			

<< Back to COM Component