GetPropertyAttributes Method (Boolean)
NOTE: This API is now obsolete.
(Obsolete) Use GetEntityProperties instead. Returns a DataSet containing the property attributes in the Catalog System.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
<ObsoleteAttribute("CatalogContext.GetPropertyAttributes is obsolete, use CatalogContext.GetEntityProperties instead")> _
Public Function GetPropertyAttributes ( _
userDefinedPropertyAttributesOnly As Boolean _
) As DataSet
'Usage
Dim instance As CatalogContext
Dim userDefinedPropertyAttributesOnly As Boolean
Dim returnValue As DataSet
returnValue = instance.GetPropertyAttributes(userDefinedPropertyAttributesOnly)
[ObsoleteAttribute("CatalogContext.GetPropertyAttributes is obsolete, use CatalogContext.GetEntityProperties instead")]
public DataSet GetPropertyAttributes(
bool userDefinedPropertyAttributesOnly
)
[ObsoleteAttribute(L"CatalogContext.GetPropertyAttributes is obsolete, use CatalogContext.GetEntityProperties instead")]
public:
DataSet^ GetPropertyAttributes(
bool userDefinedPropertyAttributesOnly
)
public function GetPropertyAttributes(
userDefinedPropertyAttributesOnly : boolean
) : DataSet
Parameters
- userDefinedPropertyAttributesOnly
Type: System..::.Boolean
If true this method will return only the user-defined property attributes. If false this method will return the built in and user defined property attributes.
Return Value
Type: System.Data..::.DataSet
Returns a DataSet containing the property attributes in the Catalog System.
Remarks
The returned DataSet will be empty and contain a column for each property attribute. The returned DataSet will contain schema information and you can access the information associated with the property attribute using the DataColumn object. If userDefinedPropertyAttributesOnly is true and there are no user defined property attributes in the catalog system then the returned DataSet will be nullNothingnullptra null reference (Nothing in Visual Basic). You should check for nullNothingnullptra null reference (Nothing in Visual Basic) before accessing the dataset.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.