SpreadWebServcie.CreateSubscription Method
創建一個聯系人列表.
public bool createSubscription
(
string loginEmail,
string
password,
string subscriptionName,
string description,
)
參數
參數
|
類型
|
描述
|
loginEmail
|
String
|
Spread賬號郵件地址.
|
password
|
String
|
Spread賬號的登錄密碼或者 API Key.
|
subscriptionName
|
String
|
被創建聯系人列表的名稱.
|
description
|
String
|
被創建聯系人列表的描述.
|
返回結果
True
成功,否則,False.
例子
string
loginName
= "spread@reasonables.com";
string
loginPassword
= "spread";
string
myNewSubsciption
= "NoClone VIP";
string
myNewDiscription
= "NoClone VIPs
are added to here.";
bool
isSuccessful;
//Create a SpreadWebService
object and use its method.
SpreadWebService MySpread = new
SpreadWebService();
isSuccessful
= MySpread.createCampaign (loginName, loginPassword, subscriptionName, description);
參見
SpreadWebService
Class | Spread Web Service Namespace