AdomdPropertyCollection.Add 方法 (String, Object)
Creates a new AdomdProperty with the specified property name and value.
命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)
語法
'宣告
Public Function Add ( _
propertyName As String, _
value As Object _
) As AdomdProperty
'用途
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
參數
- propertyName
型別:System.String
The name of the AdomdProperty to be created.
- value
型別:System.Object
The value of the AdomdProperty to be created.
傳回值
型別:Microsoft.AnalysisServices.AdomdClient.AdomdProperty
The ADO multidimensional property.