Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents an Expense account type.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Syntax
'Declaration
Public Const Expense As String
public const string Expense
public:
literal String^ Expense
public static final String Expense
public const var Expense : String
Example
The following example in C# demonstrates how the class works.
SortedList<String, String> accountTypes = new SortedList<string, string>();
accountTypes.Add("Asset", AccountTypes.Asset);
accountTypes.Add("Balance", AccountTypes.Balance);
accountTypes.Add("Expense", AccountTypes.Expense);
accountTypes.Add("Flow", AccountTypes.Flow);
accountTypes.Add("Income", AccountTypes.Income);
accountTypes.Add("Liability", AccountTypes.Liability);
accountTypes.Add("Statistical", AccountTypes.Statistical);
foreach (String key in accountTypes.Keys)
{
System.Diagnostics.Debug.WriteLine(key + " --> " + accountTypes[key]);
}
You should see the following results.
Asset --> Asset
Balance --> Balance
Expense --> Expense
Flow --> Flow
Income --> Income
Liability --> Liability
Statistical --> Statistical
The values in the right column represent the contents for each of the constant literals.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
AccountTypes Class
AccountTypes Members
Microsoft.AnalysisServices Namespace