次の方法で共有


BusinessLogicParameterCollection.Add メソッド (String, DbType, String)

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

Adds the specified parameter to the collection.

名前空間:  Microsoft.SqlServer.Replication.BusinessLogicSupport
アセンブリ:  Microsoft.SqlServer.Replication.BusinessLogicSupport (Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

構文

'宣言
Public Function Add ( _
    parameterName As String, _
    dbType As DbType, _
    sourceColumn As String _
) As Integer
'使用
Dim instance As BusinessLogicParameterCollection 
Dim parameterName As String 
Dim dbType As DbType 
Dim sourceColumn As String 
Dim returnValue As Integer 

returnValue = instance.Add(parameterName, _
    dbType, sourceColumn)
public int Add(
    string parameterName,
    DbType dbType,
    string sourceColumn
)
public:
int Add(
    String^ parameterName, 
    DbType dbType, 
    String^ sourceColumn
)
member Add : 
        parameterName:string * 
        dbType:DbType * 
        sourceColumn:string -> int
public function Add(
    parameterName : String, 
    dbType : DbType, 
    sourceColumn : String
) : int

パラメーター

  • sourceColumn
    型: System.String
    The source column where to add the parameter.

戻り値

型: System.Int32
The index of the parameter object in the collection.

関連項目

参照

BusinessLogicParameterCollection クラス

Add オーバーロード

Microsoft.SqlServer.Replication.BusinessLogicSupport 名前空間