AdomdPropertyCollection.Add Method (String, Object)
Creates a new AdomdProperty with the specified property name and value.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public Function Add ( _
propertyName As String, _
value As Object _
) As AdomdProperty
'Usage
Dim instance As AdomdPropertyCollection
Dim propertyName As String
Dim value As Object
Dim returnValue As AdomdProperty
returnValue = instance.Add(propertyName, _
value)
public AdomdProperty Add(
string propertyName,
Object value
)
public:
AdomdProperty^ Add(
String^ propertyName,
Object^ value
)
member Add :
propertyName:string *
value:Object -> AdomdProperty
public function Add(
propertyName : String,
value : Object
) : AdomdProperty
Parameters
- propertyName
Type: System.String
The name of the AdomdProperty to be created.
- value
Type: System.Object
The value of the AdomdProperty to be created.
Return Value
Type: Microsoft.AnalysisServices.AdomdClient.AdomdProperty
The ADO multidimensional property.