共用方式為


SaveToStream 方法

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Persists connection info to the specified XML stream.

命名空間:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
組件:  Microsoft.SqlServer.RegSvrEnum (在 Microsoft.SqlServer.RegSvrEnum.dll 中)

語法

'宣告
Public Sub SaveToStream ( _
    writer As XmlWriter, _
    saveName As Boolean _
)
'用途
Dim instance As UIConnectionInfo
Dim writer As XmlWriter
Dim saveName As Boolean

instance.SaveToStream(writer, saveName)
public void SaveToStream(
    XmlWriter writer,
    bool saveName
)
public:
void SaveToStream(
    XmlWriter^ writer, 
    bool saveName
)
member SaveToStream : 
        writer:XmlWriter * 
        saveName:bool -> unit 
public function SaveToStream(
    writer : XmlWriter, 
    saveName : boolean
)

參數