GetSearchableProperties Method
Returns a DataSet containing a list of properties that are searchable for a PurchaseOrder search.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Function GetSearchableProperties ( _
languageId As String _
) As DataSet
'Usage
Dim instance As PurchaseOrderManager
Dim languageId As String
Dim returnValue As DataSet
returnValue = instance.GetSearchableProperties(languageId)
public DataSet GetSearchableProperties(
string languageId
)
public:
DataSet^ GetSearchableProperties(
String^ languageId
)
public function GetSearchableProperties(
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 searched.
Exceptions
Exception | Condition |
---|---|
NotAuthorizedException | User does not have permission to perform this operation. |
Remarks
Returns a DataSet containing a list of properties that are searchable for a PurchaseOrder search. The input parameter is trimmed and the comparison is not case sensitive.
In order to perform a GetSearchableProperties, the user must have the OrdersAdapter 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.