GetReturnableProperties Method
Returns a DataSet containing the list of properties that can be returned from a PurchaseOrder search.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Function GetReturnableProperties ( _
languageId As String _
) As DataSet
'Usage
Dim instance As PurchaseOrderManager
Dim languageId As String
Dim returnValue As DataSet
returnValue = instance.GetReturnableProperties(languageId)
public DataSet GetReturnableProperties(
string languageId
)
public:
DataSet^ GetReturnableProperties(
String^ languageId
)
public function GetReturnableProperties(
languageId : String
) : DataSet
Parameters
- languageId
Type: System..::.String
The language for the display names.
Return Value
Type: System.Data..::.DataSet
A DataSet containing the list of properties that can be returned from the PurchaseOrder search.
Exceptions
Exception | Condition |
---|---|
NotAuthorizedException | User does not have permission to perform this operation. |
Remarks
Returns a DataSet containing the list of properties that can be returned from a PurchaseOrder search. The input parameter is trimmed and the comparison is not case sensitive.
In order to perform a GetReturnableProperties, the user must have the OrdersViewer permissions. See Orders System Roles [CS06] for more information about the specific roles in the Order System.
Some order system APIs support distributed transactions. If a cookie with a valid transaction is found the order system enlists as part of that transaction. If a valid transaction is not found the order system initiates a new transaction.
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.