Compartilhar via


Método ISfcScriptCollector.OpenWriter<T>

Opens a writer of the specified type that can be used to access the stored scripts. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Function OpenWriter(Of T) As T
'Uso
Dim instance As ISfcScriptCollector 
Dim returnValue As T

returnValue = instance.OpenWriter()
T OpenWriter<T>()
generic<typename T>
T OpenWriter()
abstract OpenWriter : unit -> 'T 
JScript não dá suporte a tipos e métodos genéricos.

Parâmetros de tipo

  • T
    The type of the writer.

Valor de retorno

Tipo: T
A writer of the specified type.

Consulte também

Referência

ISfcScriptCollector Interface

Sobrecarregado OpenWriter

Namespace Microsoft.SqlServer.Management.Sdk.Sfc