Share via


ISfcScriptCollector.OpenWriter<T> Method (Boolean)

Opens or reopens a writer of the specified type that can be used to access the stored scripts. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function OpenWriter(Of T) ( _
    append As Boolean _
) As T
'Usage
Dim instance As ISfcScriptCollector 
Dim append As Boolean 
Dim returnValue As T

returnValue = instance.OpenWriter(append)
T OpenWriter<T>(
    bool append
)
generic<typename T>
T OpenWriter(
    bool append
)
abstract OpenWriter : 
        append:bool -> 'T 
JScript does not support generic types and methods.

Type Parameters

  • T
    The type of the writer.

Parameters

  • append
    Type: System.Boolean
    true to reuse a previous writer of the same type; otherwise, false.

Return Value

Type: T
A writer of the specified type.

See Also

Reference

ISfcScriptCollector Interface

OpenWriter Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace