Partager via


Méthode OpenWriter(T) (Boolean)

Opens or reopens a writer of the specified type that can be used to access the stored scripts. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Function OpenWriter(Of T) ( _
    append As Boolean _
) As T
'Utilisation
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 ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

  • T
    The type of the writer.

Paramètres

Valeur de retour

Type : T
A writer of the specified type.