GetDBVersion Method
Gets the database version value.
Namespace: Microsoft.CommerceServer.Interop.Configuration
Assembly: Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)
Syntax
'Declaration
Public Function GetDBVersion ( _
ByRef sConnStr As String _
) As String
'Usage
Dim instance As GlobalConfig2FreeThreaded
Dim sConnStr As String
Dim returnValue As String
returnValue = instance.GetDBVersion(sConnStr)
public string GetDBVersion(
ref string sConnStr
)
public:
virtual String^ GetDBVersion(
String^% sConnStr
) sealed
public final function GetDBVersion(
sConnStr : String
) : String
Parameters
- sConnStr
Type: System..::.String%
The database connection string.
Return Value
Type: System..::.String
The value in the Description Field for the Database.
Implements
IGlobalConfig2..::.GetDBVersion(String%)
Remarks
Implements IGlobalConfig2.GetDBVersion (GetDBVersion).
Returns the Version of the database.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
GlobalConfig2FreeThreaded Class