SpreadWebServcie.GetSubscription Method

 

獲取特殊狀態的所有聯系人列表

public Dataset getSubscription (

string loginEmail,

string password,

SubscriptionStatus status

)

參數

參數

類型

描述

loginEmail

String

Spread賬號的郵件地址.

password

String

Spread賬號的密碼或者 API Key.

status

SubscriptionStatus

要獲得聯系人列表的狀態.

返回結果

Dataset 包含一個表 行: Subscription Name, description, Status and No. of Subscribers

例子

Dim loginName As String = "spread@reasonables.com"

Dim loginPassword As String = "spread"

Dim myStatus As SubscriptionStatus = SubscriptionStatus.Active

Dim mySubscriptionsData As Dataset

 

'Create a SpreadWebService object and use its method.

Dim MySpread As New SpreadWebService

 

mySubscriptionsData = MySpread.getSubscription(loginName, loginPassword, myStatus)

參見

SpreadWebService Class | Spread Web Service Namespace

SubscriptionStatus Enumeration