Add 方法 (String, Object)
Creates a new AdomdParameter object with the specified property name and value, and adds it to the collection.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Public Function Add ( _
parameterName As String, _
value As Object _
) As AdomdParameter
用法
Dim instance As AdomdParameterCollection
Dim parameterName As String
Dim value As Object
Dim returnValue As AdomdParameter
returnValue = instance.Add(parameterName, _
value)
public AdomdParameter Add(
string parameterName,
Object value
)
public:
AdomdParameter^ Add(
String^ parameterName,
Object^ value
)
member Add :
parameterName:string *
value:Object -> AdomdParameter
public function Add(
parameterName : String,
value : Object
) : AdomdParameter
参数
- parameterName
类型:System. . :: . .String
The name of the AdomdParameter to add.
- value
类型:System. . :: . .Object
The value of the AdomdParameter object to be created.
返回值
类型:Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdParameter
An instance of an AdomdParameter object.