SaveToStream Método
Esta API admite la infraestructura de y no está prevista su utilización directa desde el código.
No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Persists connection info to the specified XML stream.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.RegSvrEnum
Ensamblado: Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)
Sintaxis
'Declaración
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.
Vea también