IUpdateConnectionProperties.SetChildSpid Method
Sets the SQL Server process ID for the specified connection.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
Sub SetChildSpid ( _
childInfo As UIConnectionInfo, _
spid As Integer _
)
'Usage
Dim instance As IUpdateConnectionProperties
Dim childInfo As UIConnectionInfo
Dim spid As Integer
instance.SetChildSpid(childInfo, spid)
void SetChildSpid(
UIConnectionInfo childInfo,
int spid
)
void SetChildSpid(
UIConnectionInfo^ childInfo,
int spid
)
abstract SetChildSpid :
childInfo:UIConnectionInfo *
spid:int -> unit
function SetChildSpid(
childInfo : UIConnectionInfo,
spid : int
)
Parameters
- childInfo
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
Specifies the connection to update.
- spid
Type: System.Int32
Specifies the new process ID value.