Метод 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.