Class Database
Assembly: TOMWrapper.dll
Syntax
public sealed class Database : DynamicPropertyObject, ICustomTypeDescriptor, ITabularObject, INotifyPropertyChanged, INotifyPropertyChanging, IQueryableObject
Fields
InvalidNameCharacters
Declaration
public static readonly char[] InvalidNameCharacters
Field Value
Properties
CompatibilityLevel
Declaration
public int CompatibilityLevel { get; set; }
Property Value
CompatibilityMode
Declaration
public CompatibilityMode CompatibilityMode { get; set; }
Property Value
CreatedTimestamp
Declaration
public DateTime? CreatedTimestamp { get; }
Property Value
Description
Declaration
public string Description { get; set; }
Property Value
EstimatedSize
Declaration
public string EstimatedSize { get; }
Property Value
ID
Declaration
public string ID { get; set; }
Property Value
IsRemoved
Declaration
[Browsable(false)]
public bool IsRemoved { get; }
Property Value
LastProcessed
Declaration
public DateTime? LastProcessed { get; }
Property Value
LastSchemaUpdate
Declaration
public DateTime? LastSchemaUpdate { get; }
Property Value
LastUpdate
Declaration
public DateTime? LastUpdate { get; }
Property Value
Model
Declaration
[Browsable(false)]
public Model Model { get; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
ObjectType
Declaration
[Browsable(false)]
public ObjectType ObjectType { get; }
Property Value
ServerName
Declaration
public string ServerName { get; }
Property Value
ServerVersion
Declaration
public string ServerVersion { get; }
Property Value
TOMDatabase
Declaration
[Browsable(false)]
public Database TOMDatabase { get; }
Property Value
Type |
Description |
Database |
|
Version
Declaration
public long? Version { get; }
Property Value
Visible
Declaration
public bool Visible { get; set; }
Property Value
Methods
ExecuteCommand(string, bool)
Executes the specified TMSL script against the connected instance of Analysis Services.
Declaration
public void ExecuteCommand(string tmslOrXmla, bool isXmla = false)
Parameters
Type |
Name |
Description |
string |
tmslOrXmla |
|
bool |
isXmla |
|
ExecuteReader(Server, string, string, string)
Declaration
public static IDataReader ExecuteReader(Server server, string databaseName, string statement, string originalConnectionString)
Parameters
Type |
Name |
Description |
Server |
server |
|
string |
databaseName |
|
string |
statement |
|
string |
originalConnectionString |
|
Returns
ExecuteReader(string)
Executes the specified DAX query against the connected database and returns an AmoDataReader object that enumerates the result
Declaration
public IDataReader ExecuteReader(string dax)
Parameters
Type |
Name |
Description |
string |
dax |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
PropertyChanging
Declaration
public event PropertyChangingEventHandler PropertyChanging
Event Type
Implements
Extension Methods