共用方式為


Add 方法

Adds a SoapPayloadMethod object to the SoapPayloadMethodCollection collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    soapMethod As SoapPayloadMethod _
)
'用途
Dim instance As SoapPayloadMethodCollection
Dim soapMethod As SoapPayloadMethod

instance.Add(soapMethod)
public void Add(
    SoapPayloadMethod soapMethod
)
public:
void Add(
    SoapPayloadMethod^ soapMethod
)
member Add : 
        soapMethod:SoapPayloadMethod -> unit 
public function Add(
    soapMethod : SoapPayloadMethod
)

參數

範例

使用集合