AdomdRestrictionCollection.Add 方法 (String, Object)
Creates a new AdomdRestriction 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 AdomdRestriction
用法
Dim instance As AdomdRestrictionCollection
Dim propertyName As String
Dim value As Object
Dim returnValue As AdomdRestriction
returnValue = instance.Add(propertyName, _
value)
public AdomdRestriction Add(
string propertyName,
Object value
)
public:
AdomdRestriction^ Add(
String^ propertyName,
Object^ value
)
member Add :
propertyName:string *
value:Object -> AdomdRestriction
public function Add(
propertyName : String,
value : Object
) : AdomdRestriction
参数
- propertyName
类型:System.String
The name of the AdomdRestriction to be created.
- value
类型:System.Object
The value of the AdomdRestriction to be created.
返回值
类型:Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
An AdomdRestriction class.