ISfcScriptCollector.OpenWriter<T> 方法 (Boolean)

Opens or reopens a writer of the specified type that can be used to access the stored scripts. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Function OpenWriter(Of T) ( _
    append As Boolean _
) As T
用法
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 不支持一般类型和方法。

类型参数

  • T
    The type of the writer.

参数

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

返回值

类型:T
A writer of the specified type.

请参阅

参考

ISfcScriptCollector 接口

OpenWriter 重载

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间