Share via


ISfcScriptCollector.OpenWriter<T> Method

Opens 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) As T
'Usage
Dim instance As ISfcScriptCollector
Dim returnValue As T

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

Type Parameters

  • T
    The type of the writer.

Return Value

Type: T
A writer of the specified type.