IUpdateConnectionProperties.SetChildVersion Method
Sets a new server version value for the specified connection.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
Sub SetChildVersion ( _
childInfo As UIConnectionInfo, _
version As Version _
)
'Usage
Dim instance As IUpdateConnectionProperties
Dim childInfo As UIConnectionInfo
Dim version As Version
instance.SetChildVersion(childInfo, version)
void SetChildVersion(
UIConnectionInfo childInfo,
Version version
)
void SetChildVersion(
UIConnectionInfo^ childInfo,
Version^ version
)
abstract SetChildVersion :
childInfo:UIConnectionInfo *
version:Version -> unit
function SetChildVersion(
childInfo : UIConnectionInfo,
version : Version
)
Parameters
- childInfo
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
Specifies the connection to update.
- version
Type: System.Version
Specifies the new server version.