共用方式為


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.

參數

傳回值

型別:T
A writer of the specified type.