Server Class
Updated: May 24, 2016
Represents an instance of Analysis Services and provides methods and members that enable to you to control that instance. This class cannot be inherited.
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
System::MarshalByRefObject
System.ComponentModel::Component
Microsoft.AnalysisServices::ModelComponent
Microsoft.AnalysisServices::NamedComponent
Microsoft.AnalysisServices::MajorObject
Microsoft.AnalysisServices.Core::Server
Microsoft.AnalysisServices::Server
Microsoft.AnalysisServices.Tabular::Server
| 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. |
![]() | 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. |
![]() | Connected | Gets a value indicating whether there is a connection to an instance of Analysis Services. |
![]() | ConnectionInfo | Gets the ConnectionInfo object from the Server object. This field is read-only. |
![]() | ConnectionString | Gets the string of characters used to connect to an instance Analysis Services. This field is read-only. |
![]() | Container | (Inherited from Component.) |
![]() | CreatedTimestamp | Gets or sets the date and time of the creation of the object.(Inherited from MajorObject.) |
![]() | DefaultCompatibilityLevel | Gets or sets a default compatiblity level to use whenever this value is unspecified. |
![]() | 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. |
![]() | EditionID | Gets the EditionID for the currently installed version of Analysis Services. This is read-only. |
![]() | 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.) |
![]() | 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. |
![]() | ProductName | Gets or sets read-only access to the name of the SQL Server product from which an instance of Analysis Services was installed. |
![]() | 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). |
![]() | ServerMode | Gets or sets the server mode the server is operating in.Server mode is an enumeration of ServerMode |
![]() | ServerProperties | Gets a collection of server properties associated with a specific Server object. |
![]() | SessionID | Gets the session ID for 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.) |
![]() | Version | Gets or sets the server version. |
| 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. |
![]() | Attach(String^, ReadWriteMode) | Attaches a folder to the server with specified mode. |
![]() | Attach(String^, ReadWriteMode, String^) | Attaches a folder to the server with specified mode and password. |
![]() | BeforeRemove(Boolean) | Removes the ModelComponent object before the cleanup.(Inherited from ModelComponent.) |
![]() | CancelCommand() | Cancels the last command sent to the server. |
![]() | CancelCommand(String^) | Cancels the last command sent to the server on the specified session. |
![]() | CancelConnection(Int32) | Cancels the server connection specified by the connection ID. |
![]() | CancelConnection(Int32, Boolean) | Cancels the server connection specified by the connection ID, and indicates whether all other associated connections will be canceled. |
![]() | CancelSession() | Cancels the session on the server. |
![]() | CancelSession(Int32) | Cancels the specified session on the server. |
![]() | CancelSession(Int32, Boolean) | Cancels the specified session on the server. |
![]() | CancelSession(String^) | Cancels the specified session on the server. |
![]() | CancelSession(String^, Boolean) | Cancels the specified session on the server. |
![]() | Clone(Boolean) | Creates a new copy of the MajorObject object.(Inherited from MajorObject.) |
![]() | 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. |
![]() | 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. |
![]() | Connect(String^) | Connects the current instance of Server to the Analysis Services server, using the specified connection string. |
![]() | Connect(String^, Boolean) | Connects the current instance of Server to the Analysis Services server using the specified connection string and properties. |
![]() | Connect(String^, String^) | Connects the current instance of Server to the Analysis Services server, using the specified connection string. |
![]() | CopyTo(MajorObject^, Boolean) | Copies a Server object to the specified destination. Do not reference this member directly in your code. It supports the Analysis Services infrastructure and will be hidden in a future release.(Overrides MajorObject::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^) | Copies a Server object to the specified object. |
![]() | CreateObjRef(Type^) | (Inherited from MarshalByRefObject.) |
![]() | Disconnect() | Disconnects the Server object from the Analysis Services server. |
![]() | Disconnect(Boolean) | Disconnects the specified session Server object from the Analysis Services server. |
![]() | Dispose() | (Inherited from Component.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the Server and optionally releases the managed resources.(Overrides Component::Dispose(Boolean).) |
![]() | 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. |
![]() | EndXmlaRequestAndGetResults() | Ends the Xmla request and get the results from the Server. |
![]() | EndXmlaRequestWithReader(XmlaResultCollection^%) | Reads the server object to end the XML for Analysis (XMLA) request. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Execute(String^) | Executes the specified command on the Analysis Services server. |
![]() | Execute(String^, ImpactDetailCollection^, Boolean) | Executes the specified command on the Analysis Services server, and provides support for impact analysis. |
![]() | 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. |
![]() | 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. |
![]() | 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. |
![]() | ExecuteReader(String^, XmlaResultCollection^%, IDictionary^, Boolean) | Sends the CommandText to the Connection and builds an AmoDataReader. |
![]() | Finalize() | (Inherited from Component.) |
![]() | GetConnectionState(Boolean) | Gets the current state of the connection to the Analysis Services 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.) |
![]() | 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. |
![]() | 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. |
![]() | RenameTable(String^, String^, String^, FixUpExpressions) | Gets or sets the name of table. |
![]() | RenameTableColumn(String^, String^, String^, String^, FixUpExpressions) | Gets or sets the name of column. |
![]() | 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. |
![]() | Restore(String^) | Restores an Analysis Services database from a backup file. |
![]() | Restore(String^, String^) | Restores an Analysis Services database from a backup file to the specified database. |
![]() | Restore(String^, String^, Boolean) | Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag. |
![]() | 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. |
![]() | 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. |
![]() | 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. |
![]() | 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. |
![]() | 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. |
![]() | SendXmlaRequest(XmlaRequestType, Stream^) | Sends an XML for Analysis (XMLA) request of the specified type using the given stream. |
![]() | SendXmlaRequest(XmlaRequestType, TextReader^) | Sends an XML for Analysis (XMLA) request of the specified type using the given stream. |
![]() | StartXmlaRequest(XmlaRequestType) | Starts an XML for Analysis (XMLA) request to the 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. |
![]() | Synchronize(String^, String^, SynchronizeSecurity, Boolean) | Synchronizes the current object. |
![]() | Synchronize(SynchronizeInfo^) | Synchronizes the specified object to the Server. |
![]() | 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.) |
![]() | 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 NamedComponent::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.) |
![]() ![]() | 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.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







