Méthode AdomdPropertyCollection.Add (String, Object)
Creates a new AdomdProperty with the specified property name and value.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public Function Add ( _
propertyName As String, _
value As Object _
) As AdomdProperty
'Utilisation
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
Paramètres
- propertyName
Type : System.String
The name of the AdomdProperty to be created.
- value
Type : System.Object
The value of the AdomdProperty to be created.
Valeur de retour
Type : Microsoft.AnalysisServices.AdomdClient.AdomdProperty
The ADO multidimensional property.