Server Class
Updated: May 24, 2016
Represents an instance of Analysis Services and provides methods and members that enable you to control that instance. This class cannot be inherited.
Assembly: Microsoft.AnalysisServices.Tabular (in Microsoft.AnalysisServices.Tabular.dll)
| Name | Description | |
|---|---|---|
![]() | Server() | Initializes a new instance of the Server using the default values. |
| Name | Description | |
|---|---|---|
![]() | Annotations | Gets the collection object of all annotations to current object.(Inherited from MajorObject.) |
![]() | CanRaiseEvents | (Inherited from Component.) |
![]() | CaptureLog | Gets a collection containing XMLA commands generated if CaptureXml property was set to true.(Inherited from Server.) |
![]() | CaptureXml | Gets or sets the CaptureLog property of the Server object, which indicates whether XML messages sent to an instance of Analysis Services should be logged.(Inherited from Server.) |
![]() | Connected | Gets a value indicating whether there is a connection to an instance of Analysis Services.(Inherited from Server.) |
![]() | ConnectionInfo | Gets the ConnectionInfo object from the Server object. This field is read-only.(Inherited from Server.) |
![]() | ConnectionString | Gets the string of characters used to connect to an instance Analysis Services. This field is read-only.(Inherited from Server.) |
![]() | Container | (Inherited from Component.) |
![]() | CreatedTimestamp | Gets or sets the date and time of the creation of the object.(Inherited from MajorObject.) |
![]() | Databases | Gets the collection of databases resident on a Server. |
![]() | DefaultCompatibilityLevel | Gets or sets a default compatiblity level to use whenever this value is unspecified. (Inherited from Server.) |
![]() | Description | Gets or sets a description string of current object.(Inherited from MajorObject.) |
![]() | DesignMode | (Inherited from Component.) |
![]() | Edition | Gets the currently installed version of Analysis Services. This is read-only.(Inherited from Server.) |
![]() | EditionID | Gets the EditionID for the currently installed version of Analysis Services. This is read-only.(Inherited from Server.) |
![]() | Events | (Inherited from Component.) |
![]() | FriendlyName | Returns a user-friendly name.(Inherited from NamedComponent.) |
![]() | ID | Gets or sets the identifier of the component.(Inherited from NamedComponent.) |
![]() | IsInTransaction | Gets the value indicating whether there is an active transaction started on Server. |
![]() | IsLoaded | Gets a value that indicates whether MajorObject have been loaded.(Inherited from MajorObject.) |
![]() | KeyForCollection | Returns the key used in collections.(Inherited from NamedComponent.) |
![]() | LastSchemaUpdate | Gets or sets the date and time when current object schema was last updated.(Inherited from MajorObject.) |
![]() | Name | Gets or sets the name of the component.(Inherited from NamedComponent.) |
![]() | OwningCollection | Gets or sets the collection that contains the ModelComponent.(Inherited from ModelComponent.) |
![]() | Parent | Gets the IModelComponent object that is the parent of the ModelComponent object.(Inherited from ModelComponent.) |
![]() | ProductLevel | >Gets or sets read-only access to the product level element. The product level itself is obtained from the stored install-specific string.(Inherited from Server.) |
![]() | ProductName | Gets or sets read-only access to the name of the SQL Server product from which an instance of Analysis Services was installed.(Inherited from Server.) |
![]() | Roles | Gets the collection of Roles. |
![]() | ServerLocation | Gets the location of the server, which is either on-premises or in a Microsoft data center that provides internal hosting of tabular models for Microsoft's online services, (for example, Excel data models viewed in Office 365).(Inherited from Server.) |
![]() | ServerMode | Gets or sets the server mode the server is operating in.Server mode is an enumeration of ServerMode(Inherited from Server.) |
![]() | ServerProperties | |
![]() | SessionID | Gets the session ID for the server.(Inherited from Server.) |
![]() | SessionTrace | Gets the SessionTrace object that is used to start and stop traces on the server. |
![]() | Site | Gets or sets the site of the component.(Inherited from NamedComponent.) |
![]() | SiteID | Gets or sets the identifier for the site associated with the component.(Inherited from NamedComponent.) |
![]() | Traces | Gets the traces available on the server. |
![]() | Version | Gets or sets the server version. (Inherited from Server.) |
| Name | Description | |
|---|---|---|
![]() | AddToContainer(IContainer^) | Adds a ModelComponent object to the specified container.(Inherited from ModelComponent.) |
![]() | AfterInsert(Int32) | Displays a ModelComponent object after added to the specified index.(Inherited from ModelComponent.) |
![]() | AfterMove(Int32, Int32) | Displays a ModelComponent object after moving to the specified index.(Inherited from ModelComponent.) |
![]() | AfterRemove(ModelComponentCollection^) | Displays a ModelComponentCollection after a ModelComponent object is removed.(Inherited from ModelComponent.) |
![]() | Attach(String^) | Attaches a folder to the server.(Inherited from Server.) |
![]() | Attach(String^, ReadWriteMode) | Attaches a folder to the server with specified mode.(Inherited from Server.) |
![]() | Attach(String^, ReadWriteMode, String^) | Attaches a folder to the server with specified mode and password.(Inherited from Server.) |
![]() | BeforeRemove(Boolean) | Removes the ModelComponent object before the cleanup.(Inherited from ModelComponent.) |
![]() | BeginTransaction() | Starts a transaction on the server. |
![]() | CancelCommand() | Cancels the last command sent to the server.(Inherited from Server.) |
![]() | CancelCommand(String^) | Cancels the last command sent to the server on the specified session.(Inherited from Server.) |
![]() | CancelConnection(Int32) | Cancels the server connection specified by the connection ID.(Inherited from Server.) |
![]() | CancelConnection(Int32, Boolean) | Cancels the server connection specified by the connection ID, and indicates whether all other associated connections will be canceled.(Inherited from Server.) |
![]() | CancelSession() | Cancels the session on the server.(Inherited from Server.) |
![]() | CancelSession(Int32) | Cancels the specified session on the server.(Inherited from Server.) |
![]() | CancelSession(Int32, Boolean) | Cancels the specified session on the server.(Inherited from Server.) |
![]() | CancelSession(String^) | Cancels the specified session on the server.(Inherited from Server.) |
![]() | CancelSession(String^, Boolean) | Cancels the specified session on the server.(Inherited from Server.) |
![]() | Clone() | Returns a clone of the object. |
![]() | Clone(Boolean) | Infrastructure. Creates a new copy of the MajorObject object. (Overrides MajorObject::Clone(Boolean).) |
![]() | CommitTransaction() | Commits the changes made in the current transaction. |
![]() | CommitTransaction(ModelOperationResult^%) | Commits the changes made in the current transaction and returns ModelOperationResult. |
![]() | ConcatenateCaptureLog(Boolean, Boolean) | Gets the capture log in a concatenated XML format, wrapped in an XMLA Batch element, and indicates whether to include the transaction attribute and XMLA Parallel element.(Inherited from Server.) |
![]() | ConcatenateCaptureLog(Boolean, Boolean, Boolean) | Gets the capture log in a concatenated XML format, wrapped in an XMLA Batch element, and indicates whether to include the transaction attribute and XMLA Parallel element.(Inherited from Server.) |
![]() | Connect(String^) | |
![]() | Connect(String^, Boolean) | |
![]() | Connect(String^, String^) | |
![]() | CopyTo(MajorObject^, Boolean) | Infrastructure. Copies a MajorObject object to the specified destination. (Overrides Server::CopyTo(MajorObject^, Boolean).) |
![]() | CopyTo(ModelComponent^) | Copies a ModelComponent object to the specified object.(Inherited from ModelComponent.) |
![]() | CopyTo(NamedComponent^) | Copies a NamedComponent object to the specified object.(Inherited from NamedComponent.) |
![]() | CopyTo(Server^) | |
![]() | CopyTo(Server^) | Copies the content of this object to another object (the destination). |
![]() | CreateObjRef(Type^) | (Inherited from MarshalByRefObject.) |
![]() | Disconnect() | |
![]() | Disconnect(Boolean) | Disconnects the Server object from the Analysis Services server. (Overrides Server::Disconnect(Boolean).) |
![]() | Dispose() | (Inherited from Component.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the Server and optionally releases the managed resources.(Inherited from Server.) |
![]() | Drop() | Removes current object and updates server.(Inherited from MajorObject.) |
![]() | Drop(DropOptions) | Removes current object and updates server using specified options.(Inherited from MajorObject.) |
![]() | Drop(DropOptions, XmlaWarningCollection^) | Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings object.(Inherited from MajorObject.) |
![]() | Drop(DropOptions, XmlaWarningCollection^, ImpactDetailCollection^) | Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable.(Inherited from MajorObject.) |
![]() | Drop(DropOptions, XmlaWarningCollection^, ImpactDetailCollection^, Boolean) | Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable.(Inherited from MajorObject.) |
![]() | EndXmlaRequest() | Ends the last XML for Analysis (XMLA) request.(Inherited from Server.) |
![]() | EndXmlaRequestAndGetResults() | |
![]() | EndXmlaRequestWithReader(XmlaResultCollection^%) | Reads the server object to end the XML for Analysis (XMLA) request.(Inherited from Server.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Execute(String^) | Executes the specified command on the Analysis Services server.(Inherited from Server.) |
![]() | Execute(String^, ImpactDetailCollection^, Boolean) | Executes the specified command on the Analysis Services server, and provides support for impact analysis.(Inherited from Server.) |
![]() | ExecuteCaptureLog(Boolean, Boolean) | Executes the contents of the capture log on the server, and indicates whether execution will be in a transactional and/or parallel mode. Affected objects will not be processed.(Inherited from Server.) |
![]() | ExecuteCaptureLog(Boolean, Boolean, Boolean) | Executes the contents of the capture log on the server, indicates whether execution will be in a transactional and/or parallel mode, and indicates whether affected objects will be processed.(Inherited from Server.) |
![]() | ExecuteCaptureLog(Boolean, Boolean, Boolean, Boolean) | Executes the contents of the capture log on the server, indicates whether execution will be in a transactional and/or parallel mode, indicates whether affected objects will be processed, and indicates whether to skip volatile objects.(Inherited from Server.) |
![]() | ExecuteReader(String^, XmlaResultCollection^%, IDictionary^, Boolean) | Sends the CommandText to the Connection and builds an AmoDataReader.(Inherited from Server.) |
![]() | Finalize() | (Inherited from Component.) |
![]() | GetConnectionState(Boolean) | Gets the current state of the connection to the Analysis Services server.(Inherited from Server.) |
![]() | GetCreateReferences(Hashtable^, Boolean, Boolean) | Gets a Hashtable to create references.(Inherited from MajorObject.) |
![]() | GetDependents(Hashtable^) | Gets the dependents to the specified Hashtable.(Inherited from MajorObject.) |
![]() | GetDropDependents(Hashtable^, Hashtable^) | Gets the drop dependents.(Inherited from MajorObject.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLastSchemaUpdate(IMajorObject^) | Retrieves the date and time when the specified object schema was last updated. |
![]() | GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | GetReferences(Hashtable^, Boolean) | Gets the objects that the MajorObject references.(Inherited from MajorObject.) |
![]() | GetService(Type^) | (Inherited from Component.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetUpdateOverwrites(Boolean) | Gets the Hashtable object that overwrites the updated MajorObject.(Inherited from MajorObject.) |
![]() | InitializeLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) |
![]() | Reconnect() | Re-establishes the connection to the Analysis Services database.(Inherited from Server.) |
![]() | Refresh() | Updates current object from server definitions.(Inherited from MajorObject.) |
![]() | Refresh(Boolean) | Updates current object from server definitions and loaded dependent objects if specified.(Inherited from MajorObject.) |
![]() | Refresh(Boolean, RefreshType) | Updates current object from server definitions and loaded dependent objects if specified.(Inherited from MajorObject.) |
![]() | RemoveFromContainer(IContainer^) | Removes a ModelComponent object from the specified container.(Inherited from ModelComponent.) |
![]() | RenameScriptMeasure(String^, String^, String^, String^, FixUpExpressions) | Creates a new name for the script measure.(Inherited from Server.) |
![]() | RenameTable(String^, String^, String^, FixUpExpressions) | Gets or sets the name of table.(Inherited from Server.) |
![]() | RenameTableColumn(String^, String^, String^, String^, FixUpExpressions) | Gets or sets the name of column.(Inherited from Server.) |
![]() | Reset() | Resets the component to its initial state.(Inherited from NamedComponent.) |
![]() | Restore(RestoreInfo^) | Restores an Analysis Services database from a backup file, using the options set on a RestoreInfo object.(Inherited from Server.) |
![]() | Restore(String^) | Restores an Analysis Services database from a backup file.(Inherited from Server.) |
![]() | Restore(String^, String^) | Restores an Analysis Services database from a backup file to the specified database.(Inherited from Server.) |
![]() | Restore(String^, String^, Boolean) | Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag.(Inherited from Server.) |
![]() | Restore(String^, String^, Boolean, array<RestoreLocation^>^) | Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag and multiple remote servers.(Inherited from Server.) |
![]() | Restore(String^, String^, Boolean, array<RestoreLocation^>^, RestoreSecurity) | Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag, multiple remote servers, and specifying security settings.(Inherited from Server.) |
![]() | Restore(String^, String^, Boolean, array<RestoreLocation^>^, RestoreSecurity, String^) | Restores an Analysis Services database from a backup file to the specified database, given a password, an overwrite flag, multiple remote servers, and specifying security settings.(Inherited from Server.) |
![]() | Restore(String^, String^, Boolean, array<RestoreLocation^>^, RestoreSecurity, String^, String^) | Restores an Analysis Services database from a backup file to the specified database, given a password, an overwrite flag, multiple remote servers, specifying security settings and storage location. (Inherited from Server.) |
![]() | Restore(String^, String^, Boolean, array<RestoreLocation^>^, RestoreSecurity, String^, String^, ReadWriteMode) | Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag and multiple remote servers.(Inherited from Server.) |
![]() | RollbackTransaction() | Rolls back the current transaction on the connection to the server. |
![]() | SendXmlaRequest(XmlaRequestType, Stream^) | Sends an XML for Analysis (XMLA) request of the specified type using the given stream.(Inherited from Server.) |
![]() | SendXmlaRequest(XmlaRequestType, TextReader^) | Sends an XML for Analysis (XMLA) request of the specified type using the given stream. (Inherited from Server.) |
![]() | StartXmlaRequest(XmlaRequestType) | Starts an XML for Analysis (XMLA) request to the server.(Inherited from Server.) |
![]() | Submit() | Submits a ModelComponent object.(Inherited from ModelComponent.) |
![]() | Submit(Boolean) | Submits a ModelComponent object.(Inherited from ModelComponent.) |
![]() | Synchronize(String^, String^) | Synchronizes the current object.(Inherited from Server.) |
![]() | Synchronize(String^, String^, SynchronizeSecurity, Boolean) | Synchronizes the current object.(Inherited from Server.) |
![]() | Synchronize(SynchronizeInfo^) | |
![]() | ToString() | Returns a string containing the name of the component.(Inherited from NamedComponent.) |
![]() | Update() | Updates server definition of current object to actual values using the default values to update dependent objects.(Inherited from MajorObject.) |
![]() | Update(UpdateOptions) | Updates server definition of current object to actual values using the specified options to update dependent objects.(Inherited from MajorObject.) |
![]() | Update(UpdateOptions, UpdateMode) | Updates server definition of current object to actual values using the specified options to update dependent objects.(Inherited from MajorObject.) |
![]() | Update(UpdateOptions, UpdateMode, XmlaWarningCollection^) | Updates server definition of current object to actual values using the specified options to update dependent objects and reports any warnings from operation.(Inherited from MajorObject.) |
![]() | Update(UpdateOptions, UpdateMode, XmlaWarningCollection^, ImpactDetailCollection^) | Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation.(Inherited from MajorObject.) |
![]() | Update(UpdateOptions, UpdateMode, XmlaWarningCollection^, ImpactDetailCollection^, Boolean) | Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. If analyzeImpactOnly is true, an impact analysis operation is performed with no update operation.(Inherited from MajorObject.) |
![]() | UpdateObjects(array<IMajorObject^>^) | Infrastructure. Sends the updates made on the Server object to the Analysis Services server. |
![]() | UpdateObjects(array<IMajorObject^>^, ImpactDetailCollection^) | Infrastructure. Sends the updates made on the Server object to the Analysis Services server. |
![]() | Validate(ValidationErrorCollection^) | Validates the element to which it is appended; returns any errors encountered in a collection.(Inherited from ModelComponent.) |
![]() | Validate(ValidationErrorCollection^, Boolean) | Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors.(Inherited from ModelComponent.) |
![]() | Validate(ValidationErrorCollection^, Boolean, ServerEdition) | Indicates whether the Server object is valid. (Overrides Server::Validate(ValidationErrorCollection^, Boolean, ServerEdition).) |
![]() | Validate(ValidationResultCollection^) | Indicates whether the MajorObject is valid.(Inherited from MajorObject.) |
![]() | Validate(ValidationResultCollection^, ValidationOptions) | Indicates whether the MajorObject is valid.(Inherited from MajorObject.) |
![]() | Validate(ValidationResultCollection^, ValidationOptions, ServerEdition) | Indicates whether the MajorObject is valid.(Inherited from MajorObject.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IDeserializationStartCallback::OnDeserializationBegin(Object^) | Runs when the entire object graph starts to deserialized.(Inherited from MajorObject.) |
![]() ![]() | IMajorObject::CreateBody() | Creates a new body for the server. |
![]() ![]() | IMajorObject::DependsOn(IMajorObject^) | Determines whether the dimension permission depends on an object. |
![]() ![]() | IMajorObject::WriteRef(XmlWriter^) | Writes a reference for the server. |
![]() ![]() | ICloneable::Clone() | Creates a new copy of the current object. |
![]() ![]() | IFormattable::ToString(String^, IFormatProvider^) | Formats the value of the current instance using the specified format.(Inherited from NamedComponent.) |
![]() ![]() | IDeserializationCallback::OnDeserialization(Object^) | Runs when the entire object graph has been deserialized.(Inherited from MajorObject.) |
![]() ![]() | IHostableComponent::Host | (Inherited from ModelComponent.) |
![]() ![]() | IModelComponent::FriendlyPath | (Inherited from ModelComponent.) |
![]() ![]() | IModelComponent::OwningCollection | (Inherited from ModelComponent.) |
![]() ![]() | IMajorObject::BaseType | Gets the base type implementation of the Server. |
![]() ![]() | IMajorObject::ObjectReference | Gets the object reference. |
![]() ![]() | IMajorObject::ParentDatabase | Gets the parent database implementation of the server. |
![]() ![]() | IMajorObject::ParentServer | Gets the parent server of this object. |
![]() ![]() | IMajorObject::Path | Gets the path implementation for this object. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







