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
public AdomdProperty Add (
string propertyName,
Object value
)
public:
AdomdProperty^ Add (
String^ propertyName,
Object^ value
)
public AdomdProperty Add (
String propertyName,
Object value
)
public function Add (
propertyName : String,
value : Object
) : AdomdProperty
Parameters
- propertyName
The name of the AdomdProperty to be created.
- value
The value of the AdomdProperty to be created.
Return Value
An AdomdProperty.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
AdomdPropertyCollection Class
AdomdPropertyCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace