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
- definitionName
Type: System..::.String
Name of the definition to retrieve.
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
- 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.