Método AdomdPropertyCollection.Add (String, Object)
Creates a new AdomdProperty with the specified property name and value.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxe
'Declaração
Public Function Add ( _
propertyName As String, _
value As Object _
) As AdomdProperty
'Uso
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
Parâmetros
- propertyName
Tipo: System.String
The name of the AdomdProperty to be created.
- value
Tipo: System.Object
The value of the AdomdProperty to be created.
Valor de retorno
Tipo: Microsoft.AnalysisServices.AdomdClient.AdomdProperty
The ADO multidimensional property.