BusinessLogicParameterCollection.Add 方法 (String, DbType)
此 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, _
type As DbType _
) As Integer
'用途
Dim instance As BusinessLogicParameterCollection
Dim parameterName As String
Dim type As DbType
Dim returnValue As Integer
returnValue = instance.Add(parameterName, _
type)
public int Add(
string parameterName,
DbType type
)
public:
int Add(
String^ parameterName,
DbType type
)
member Add :
parameterName:string *
type:DbType -> int
public function Add(
parameterName : String,
type : DbType
) : int
參數
- parameterName
型別:System.String
The name of the parameter.
- type
型別:System.Data.DbType
The type of the database.
傳回值
型別:System.Int32
The index of the parameter object in the collection.