CustomProperties Collection
[!참고] 이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.
The CustomProperties collection applies to all Decision Support Objects (DSO) objects and enables you to define unique properties for DSO objects. The CustomProperties collection contains Property objects that you define to store information you want to associate with a DSO object. For more information about defining custom properties, see Property Object.
Access
Read/write
주의
The CustomProperties collection implements its own methods and properties, which operate differently than those of other DSO collections.
예
Use the following code example to add and retrieve custom property objects:
' Assume the existence of an object of ClassType clsDimension.
' Add a custom property.
Dim dsoProp As DSO.Property
Set dsoProp = dsoDim.CustomProperties.Add(55, "Age", vbInteger)
' Retrieve custom property values.
Dim dsoProp2 As DSO.Property
Set dsoProp2 = dsoDim.CustomProperties(1)
Debug.Print dsoProp2.Name, dsoProp2.Value
참고 항목
참조
Collections (DSO)
Methods, CustomProperties
Properties, CustomProperties