DBDataPermission.FromXml Method (SecurityElement)


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

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public override void FromXml(
	SecurityElement securityElement


Type: System.Security.SecurityElement

The XML encoding to use to reconstruct the security object.

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

.NET Framework
Available since 1.1
Return to top