BusinessLogicParameterCollection.Add Method (String, DbType)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Adds the specified parameter to the collection.
Namespace: Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly: Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
Syntax
'Declaration
Public Function Add ( _
parameterName As String, _
type As DbType _
) As Integer
'Usage
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
Parameters
- parameterName
Type: System.String
The name of the parameter.
- type
Type: System.Data.DbType
The type of the database.
Return Value
Type: System.Int32
The index of the parameter object in the collection.
See Also
Reference
BusinessLogicParameterCollection Class
Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace