Creates, adds to collection and returns a new PerspectiveAttribute.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Function Add ( _
attributeId As String _
) As PerspectiveAttribute
用法
Dim instance As PerspectiveAttributeCollection
Dim attributeId As String
Dim returnValue As PerspectiveAttribute
returnValue = instance.Add(attributeId)
public PerspectiveAttribute Add(
string attributeId
)
public:
PerspectiveAttribute^ Add(
String^ attributeId
)
member Add :
attributeId:string -> PerspectiveAttribute
public function Add(
attributeId : String
) : PerspectiveAttribute
参数
- attributeId
类型:System.String
The identifier for the new PerspectiveAttribute (needs to be unique in the collection).
返回值
类型:Microsoft.AnalysisServices.PerspectiveAttribute
The newly created PerspectiveAttribute.