Partager via


GetDefinitionProperties Method (String)

NOTE: This API is now obsolete. The non-obsolete alternative is [A M:Microsoft.CommerceServer.Catalog.CatalogContext.GetDefinition(System.String) object.].

(Obsolete) GetDefinitionProperties should not be used, use GetDefinition instead. Retrieves a DataSet describing the properties in this definition.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
<ObsoleteAttribute("GetDefinitionProperties should not be used, use CatalogContext.GetDefinition(), and Definition.Properties instead.")> _
Public Function GetDefinitionProperties ( _
    definitionName As String _
) As DataSet
'Usage
Dim instance As CatalogContext
Dim definitionName As String
Dim returnValue As DataSet

returnValue = instance.GetDefinitionProperties(definitionName)
[ObsoleteAttribute("GetDefinitionProperties should not be used, use CatalogContext.GetDefinition(), and Definition.Properties instead.")]
public DataSet GetDefinitionProperties(
    string definitionName
)
[ObsoleteAttribute(L"GetDefinitionProperties should not be used, use CatalogContext.GetDefinition(), and Definition.Properties instead.")]
public:
DataSet^ GetDefinitionProperties(
    String^ definitionName
)
public function GetDefinitionProperties(
    definitionName : String
) : DataSet

Parameters

Return Value

Type: System.Data..::.DataSet
A DataSet describing the properties in this definition.

Remarks

The GetDefinitionProperties method can be used to retrieve properties of either category or product definitions.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

GetDefinitionProperties Overload

Microsoft.CommerceServer.Catalog Namespace