Método UIConnectionInfo.SaveToStream
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Persists connection info to the specified XML stream.
Namespace: Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (em Microsoft.SqlServer.RegSvrEnum.dll)
Sintaxe
'Declaração
Public Sub SaveToStream ( _
writer As XmlWriter, _
saveName As Boolean _
)
'Uso
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
)
Parâmetros
- writer
Tipo: System.Xml.XmlWriter
An XmlWriter for the stream.
- saveName
Tipo: System.Boolean
A Boolean that specifies whether to include the UserName property in the stream.