AccountGetPropertiesTab Method |
This method enables you to get the Property values available in a Property Tab of an Account item.
Namespace: AccountService
C#
public long GetPropertiesTab( long accountID, long tabID, int getPropinfoOrPropxml, out PropertyInfo[] propData, out string propXML, out string error )
Parameters
- accountID
- Type: SystemInt64
[in] The ID of the Account for which you want to retrieve the values from a Property Tab associated with the Account. - tabID
- Type: SystemInt64
[in] The ID of a Property Tab associated with the Account. - getPropinfoOrPropxml
- Type: SystemInt32
[in] Indicates the format of the output. You can specify one of the following values:- 0 - Specify this value to obtain the output in the PropertyInfo[] structure.
- 1 - Specify this value to obtain the output in XML format in the propXML output parameter.
- 2 - Specify this value to obtain the output in the PropertyInfo[] structure,and in XML format in the propXML output parameter.
- propData
- Type: Talisma.Server.CommonPropertyInfo
[out] This is an array of Property Info[] structure that contains the Property values retrieved from a Property Tab of the specified Account. The value of the propData array is blank if no Property values are available in the specified Property Tab of the Account. - propXML
- Type: SystemString
[out] This parameter contains the output in XML format.The value of the propXML parameter is NULL if no Property values are available in the specified Property of the Account. - error
- Type: SystemString
[out] The error messages returned when the get operation fails.
Return Value
Type: Int64The GetPropertiesTab method returns 0 if the operation is successful and a negative value if the operation fails.
