ExecuteSql.GetDatabaseEngineType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDatabaseEngineType() |
return the DatabaseEngineType for the connection |
GetDatabaseEngineType(Object) |
return the database engine type for the server with the given connection |
GetDatabaseEngineType()
return the DatabaseEngineType for the connection
public Microsoft.SqlServer.Management.Common.DatabaseEngineType GetDatabaseEngineType ();
member this.GetDatabaseEngineType : unit -> Microsoft.SqlServer.Management.Common.DatabaseEngineType
Public Function GetDatabaseEngineType () As DatabaseEngineType
Returns
Applies to
GetDatabaseEngineType(Object)
return the database engine type for the server with the given connection
public static Microsoft.SqlServer.Management.Common.DatabaseEngineType GetDatabaseEngineType (object con);
static member GetDatabaseEngineType : obj -> Microsoft.SqlServer.Management.Common.DatabaseEngineType
Public Shared Function GetDatabaseEngineType (con As Object) As DatabaseEngineType
Parameters
- con
- Object