Utilities.GetEngineEdition 方法

定义

获取服务器的版本

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

适用于