AdomdCommand.IDbCommand.CreateParameter 方法
Creates a new instance of an IDbDataParameter object.
命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)
語法
'宣告
Private Function CreateParameter As IDbDataParameter
Implements IDbCommand.CreateParameter
'用途
Dim instance As AdomdCommand
Dim returnValue As IDbDataParameter
returnValue = CType(instance, IDbCommand).CreateParameter()
IDbDataParameter IDbCommand.CreateParameter()
private:
virtual IDbDataParameter^ CreateParameter() sealed = IDbCommand::CreateParameter
private abstract CreateParameter : unit -> IDbDataParameter
private override CreateParameter : unit -> IDbDataParameter
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
傳回值
型別:System.Data.IDbDataParameter
An IDbDataParameterobject.