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