This documentation is archived and is not being maintained.

DBDataPermission.FromXml Method

Reconstructs a security object with a specified state from an XML encoding.

[Visual Basic]
Overrides Public Sub FromXml( _
   ByVal securityElement As SecurityElement _
) Implements ISecurityEncodable.FromXml
[C#]
public override void FromXml(
 SecurityElement securityElement
);
[C++]
public: void FromXml(
 SecurityElement* securityElement
);
[JScript]
public override function FromXml(
   securityElement : SecurityElement
);

Parameters

securityElement
The XML encoding to use to reconstruct the security object.

Implements

ISecurityEncodable.FromXml

Remarks

Custom code that extends security objects needs to implement the ToXml and FromXml methods to make the objects security-encodable.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DBDataPermission Class | DBDataPermission Members | System.Data.Common Namespace

Show: