Método InitializeAsReplayOutputWriter
Initializes a new instance of the TraceTable class for writing replay trace information.
Namespace: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)
Sintaxe
'Declaração
Public Sub InitializeAsReplayOutputWriter ( _
serverConnInfo As ConnectionInfoBase, _
destinationTableName As String _
)
'Uso
Dim instance As TraceTable
Dim serverConnInfo As ConnectionInfoBase
Dim destinationTableName As String
instance.InitializeAsReplayOutputWriter(serverConnInfo, _
destinationTableName)
public void InitializeAsReplayOutputWriter(
ConnectionInfoBase serverConnInfo,
string destinationTableName
)
public:
void InitializeAsReplayOutputWriter(
ConnectionInfoBase^ serverConnInfo,
String^ destinationTableName
)
member InitializeAsReplayOutputWriter :
serverConnInfo:ConnectionInfoBase *
destinationTableName:string -> unit
public function InitializeAsReplayOutputWriter(
serverConnInfo : ConnectionInfoBase,
destinationTableName : String
)
Parâmetros
- serverConnInfo
Tipo: Microsoft.SqlServer.Management.Common. . :: . .ConnectionInfoBase
A SqlConnectionInfo object value that specifies the information required to establish a connection with the instance of Microsoft SQL Server that contains the trace table.
- destinationTableName
Tipo: System. . :: . .String
A String value that specifies the name of the trace table to write the replay trace output data.
Consulte também