Compartir a través de


Edition (clsServer)

[!NOTA]

  Esta característica se quitará en la versión siguiente de Microsoft SQL Server. No utilice esta característica en nuevos trabajos de desarrollo y modifique lo antes posible las aplicaciones que actualmente la utilizan.

The Edition property of an object of ClassType clsServer identifies which edition of Microsoft® SQL Server™ 2000 Analysis Services is installed.

Data Type

OlapEditions

Access

Read-only

Notas

The functionality of Analysis Services varies depending on the edition installed.

Ejemplo

The following code example checks the Edition property of a clsServer object to determine feature support.

Dim dsoServer As New DSO.Server

' Connect to the local Analysis server.
dsoServer.Connect "LocalHost"

' Check the Edition property.
Select Case dsoServer.Edition
    Case olapEditionUnlimited
        ' Insert code for Enterprise edition features.
    Case olapEditionPivotOnly
        ' Reserved for future use.
    Case olapEditionNoPartitions
        ' Insert code for Standard edition features.
    Case olapEditionError
        ' An error occurred while retrieving this information.
End Select

Vea también

Referencia