Freigeben über


ISfcScriptCollector.OpenWriter<T>-Methode (Boolean)

Opens or reopens a writer of the specified type that can be used to access the stored scripts. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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 bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.

Typparameter

  • T
    The type of the writer.

Parameter

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

Rückgabewert

Typ: T
A writer of the specified type.

Siehe auch

Verweis

ISfcScriptCollector Schnittstelle

OpenWriter-Überladung

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace