Compartilhar via


StoredRuleObject.ReadXml Method (XmlReader, Server)

Reads the contents of an XmlReader stream into the StoredRuleObject instance using the specified context.

Namespace: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntax

'Declaration
Public Sub ReadXml ( _
    reader As XmlReader, _
    context As Server _
)
public void ReadXml (
    XmlReader reader,
    Server context
)
public:
void ReadXml (
    XmlReader^ reader, 
    Server^ context
)
public void ReadXml (
    XmlReader reader, 
    Server context
)
public function ReadXml (
    reader : XmlReader, 
    context : Server
)

Parameters

  • reader
    The XmlReader stream from which the object is deserialized.
  • context
    The Server object that sets the deserialization context.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

StoredRuleObject Class
StoredRuleObject Members
Microsoft.SqlServer.NotificationServices.Rules Namespace