Utilities.GetEngineEdition 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取服务器的版本
public:
static void GetEngineEdition(Microsoft::SqlServer::Management::Common::ServerConnection ^ serverConn, [Runtime::InteropServices::Out] System::String ^ % edition, [Runtime::InteropServices::Out] Microsoft::SqlServer::Management::Common::DatabaseEngineEdition % databaseEngineEdition);
public static void GetEngineEdition (Microsoft.SqlServer.Management.Common.ServerConnection serverConn, out string edition, out Microsoft.SqlServer.Management.Common.DatabaseEngineEdition databaseEngineEdition);
static member GetEngineEdition : Microsoft.SqlServer.Management.Common.ServerConnection * string * DatabaseEngineEdition -> unit
Public Shared Sub GetEngineEdition (serverConn As ServerConnection, ByRef edition As String, ByRef databaseEngineEdition As DatabaseEngineEdition)
参数
- serverConn
- ServerConnection
- edition
- String
- databaseEngineEdition
- DatabaseEngineEdition