AdomdRestrictionCollection.Add 方法 (String, String, Object)
Creates a new AdomdRestriction with the specified property name, namespace, and value.
命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)
語法
'宣告
Public Function Add ( _
propertyName As String, _
propertyNamespace As String, _
value As Object _
) As AdomdRestriction
'用途
Dim instance As AdomdRestrictionCollection
Dim propertyName As String
Dim propertyNamespace As String
Dim value As Object
Dim returnValue As AdomdRestriction
returnValue = instance.Add(propertyName, _
propertyNamespace, value)
public AdomdRestriction Add(
string propertyName,
string propertyNamespace,
Object value
)
public:
AdomdRestriction^ Add(
String^ propertyName,
String^ propertyNamespace,
Object^ value
)
member Add :
propertyName:string *
propertyNamespace:string *
value:Object -> AdomdRestriction
public function Add(
propertyName : String,
propertyNamespace : String,
value : Object
) : AdomdRestriction
參數
- propertyName
型別:System.String
The name of the AdomdRestriction to be created.
- propertyNamespace
型別:System.String
The namespace of the AdomdRestriction to be created.
- value
型別:System.Object
The value of the AdomdRestriction to be created.
傳回值
型別:Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
An AdomdRestriction object.