DBDataPermission::ToXml Method ()

 

Creates an XML encoding of the security object and its current state.

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

public:
virtual SecurityElement^ ToXml() override

Return Value

Type: System.Security::SecurityElement^

An XML encoding of the security object, including any state information.

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

.NET Framework
Available since 1.1
Return to top
Show: