UIConnectionInfo.SaveToStream Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Persists connection info to the specified XML stream.
Namespace: Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)
Syntax
'Declaration
Public Sub SaveToStream ( _
writer As XmlWriter, _
saveName As Boolean _
)
'Usage
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
)
Parameters
- writer
Type: System.Xml.XmlWriter
An XmlWriter for the stream.
- saveName
Type: System.Boolean
A Boolean that specifies whether to include the UserName property in the stream.