| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447 |
- <?xml version="1.0" encoding="utf-8"?>
- <Type Name="DBDataPermission" FullName="System.Data.Common.DBDataPermission">
- <TypeSignature Language="C#" Maintainer="auto" Value="public abstract class DBDataPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission" />
- <AssemblyInfo>
- <AssemblyName>System.Data</AssemblyName>
- <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
- <AssemblyVersion>1.0.3300.0</AssemblyVersion>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
- <Base>
- <BaseTypeName>System.Security.CodeAccessPermission</BaseTypeName>
- </Base>
- <Interfaces>
- <Interface>
- <InterfaceName>System.Security.Permissions.IUnrestrictedPermission</InterfaceName>
- </Interface>
- </Interfaces>
- <Docs>
- <remarks>To be added</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Enables a .NET Framework data provider to help ensure that a user has a security level adequate for accessing data.</para>
- </summary>
- </Docs>
- <Members>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="protected DBDataPermission ();" />
- <MemberType>Constructor</MemberType>
- <ReturnValue />
- <Parameters />
- <Docs>
- <remarks>To be added</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Initializes a new instance of a DBDataPermission class.</para>
- </summary>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.Obsolete("use DBDataPermission (PermissionState.None)", true)</AttributeName>
- </Attribute>
- </Attributes>
- </Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="protected DBDataPermission (System.Data.Common.DBDataPermission permission);" />
- <MemberType>Constructor</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Parameters>
- <Parameter Name="permission" Type="System.Data.Common.DBDataPermission" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Initializes a new instance of a DBDataPermission class using an existing DBDataPermission.</para>
- </summary>
- <param name="permission">
- <attribution license="cc4" from="Microsoft" modified="false" />An existing DBDataPermission used to create a new DBDataPermission. </param>
- </Docs>
- </Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="protected DBDataPermission (System.Data.Common.DBDataPermissionAttribute permissionAttribute);" />
- <MemberType>Constructor</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Parameters>
- <Parameter Name="permissionAttribute" Type="System.Data.Common.DBDataPermissionAttribute" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Initializes a new instance of a DBDataPermission class with the specified DBDataPermissionAttribute.</para>
- </summary>
- <param name="permissionAttribute">
- <attribution license="cc4" from="Microsoft" modified="false" />A security action associated with a custom security attribute. </param>
- </Docs>
- </Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="protected DBDataPermission (System.Security.Permissions.PermissionState state);" />
- <MemberType>Constructor</MemberType>
- <ReturnValue />
- <Parameters>
- <Parameter Name="state" Type="System.Security.Permissions.PermissionState" />
- </Parameters>
- <Docs>
- <remarks>To be added</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Initializes a new instance of a DBDataPermission class with the specified <see cref="T:System.Security.Permissions.PermissionState" /> value.</para>
- </summary>
- <param name="state">
- <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.Permissions.PermissionState" /> values. </param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="protected DBDataPermission (System.Security.Permissions.PermissionState state, bool allowBlankPassword);" />
- <MemberType>Constructor</MemberType>
- <ReturnValue />
- <Parameters>
- <Parameter Name="state" Type="System.Security.Permissions.PermissionState" />
- <Parameter Name="allowBlankPassword" Type="System.Boolean" />
- </Parameters>
- <Docs>
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The <see cref="T:System.Security.Permissions.PermissionState" /> enumeration takes precedence over the <see cref="P:System.Data.Common.DBDataPermission.AllowBlankPassword" /> property. Therefore, if you set <see cref="P:System.Data.Common.DBDataPermission.AllowBlankPassword" /> to false, you must also set <see cref="T:System.Security.Permissions.PermissionState" /> to None to prevent a user from making a connection using a blank password.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Initializes a new instance of a DBDataPermission class with the specified <see cref="T:System.Security.Permissions.PermissionState" /> value, and a value indicating whether a blank password is allowed.</para>
- </summary>
- <param name="state">
- <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.Permissions.PermissionState" /> values. </param>
- <param name="allowBlankPassword">
- <attribution license="cc4" from="Microsoft" modified="false" />Indicates whether a blank password is allowed. </param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Attributes>
- <Attribute>
- <AttributeName>System.Obsolete("use DBDataPermission (PermissionState.None)", true)</AttributeName>
- </Attribute>
- </Attributes>
- </Member>
- <Member MemberName="Add">
- <MemberSignature Language="C#" Value="public virtual void Add (string connectionString, string restrictions, System.Data.KeyRestrictionBehavior behavior);" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="connectionString" Type="System.String" />
- <Parameter Name="restrictions" Type="System.String" />
- <Parameter Name="behavior" Type="System.Data.KeyRestrictionBehavior" />
- </Parameters>
- <Docs>
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>This method can be useful when implementing:</para>
- <list type="bullet">
- <item>
- <para>A .NET framework data provider.</para>
- </item>
- <item>
- <para>An API that must assert for data access permission.</para>
- </item>
- <item>
- <para>An administrative tool or installation program that must modify security policy.</para>
- </item>
- <item>
- <para>When more than one rule is specified, the more restrictive rule is selected.</para>
- </item>
- </list>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Adds access for the specified connection string to the existing state of the DBDataPermission. </para>
- </summary>
- <param name="connectionString">
- <attribution license="cc4" from="Microsoft" modified="false" />A permitted connection string.</param>
- <param name="restrictions">
- <attribution license="cc4" from="Microsoft" modified="false" />String that identifies connection string parameters that are allowed or disallowed.</param>
- <param name="behavior">
- <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Data.KeyRestrictionBehavior" /> properties.</param>
- </Docs>
- </Member>
- <Member MemberName="AllowBlankPassword">
- <MemberSignature Language="C#" Value="public bool AllowBlankPassword { set; get; }" />
- <MemberType>Property</MemberType>
- <ReturnValue>
- <ReturnType>System.Boolean</ReturnType>
- </ReturnValue>
- <Parameters>
- </Parameters>
- <Docs>
- <value>To be added: an object of type 'bool'</value>
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The <see cref="T:System.Security.Permissions.PermissionState" /> enumeration takes precedence over the <see cref="P:System.Data.Common.DBDataPermission.AllowBlankPassword" /> property. Therefore, if you set <see cref="P:System.Data.Common.DBDataPermission.AllowBlankPassword" /> to false, you must also set <see cref="T:System.Security.Permissions.PermissionState" /> to None to prevent a user from making a connection using a blank password.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Gets a value indicating whether a blank password is allowed.</para>
- </summary>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="Clear">
- <MemberSignature Language="C#" Value="protected void Clear ();" />
- <MemberType>Method</MemberType>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <Parameters />
- <Docs>
- <remarks>To be added.</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Removes all permissions that were previous added using the <see cref="M:System.Data.Common.DBDataPermission.Add(System.String,System.String,System.Data.KeyRestrictionBehavior)" /> method.</para>
- </summary>
- </Docs>
- </Member>
- <Member MemberName="Copy">
- <MemberSignature Language="C#" Value="public override System.Security.IPermission Copy ();" />
- <MemberType>Method</MemberType>
- <ReturnValue>
- <ReturnType>System.Security.IPermission</ReturnType>
- </ReturnValue>
- <Parameters />
- <Docs>
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>A copy of a permission object represents the same access to resources as the original permission object.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Creates and returns an identical copy of the current permission object.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>A copy of the current permission object.</para>
- </returns>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="CreateInstance">
- <MemberSignature Language="C#" Value="protected virtual System.Data.Common.DBDataPermission CreateInstance ();" />
- <MemberType>Method</MemberType>
- <ReturnValue>
- <ReturnType>System.Data.Common.DBDataPermission</ReturnType>
- </ReturnValue>
- <Parameters />
- <Docs>
- <remarks>To be added</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Creates a new instance of the DBDataPermission class.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>A new DBDataPermission object.</para>
- </returns>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="FromXml">
- <MemberSignature Language="C#" Value="public override void FromXml (System.Security.SecurityElement securityElement);" />
- <MemberType>Method</MemberType>
- <ReturnValue>
- <ReturnType>System.Void</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="securityElement" Type="System.Security.SecurityElement" />
- </Parameters>
- <Docs>
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Custom code that extends security objects needs to implement the ToXml and FromXml methods to make the objects security encodable.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Reconstructs a security object with a specified state from an XML encoding.</para>
- </summary>
- <param name="securityElement">
- <attribution license="cc4" from="Microsoft" modified="false" />The XML encoding to use to reconstruct the security object. </param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="Intersect">
- <MemberSignature Language="C#" Value="public override System.Security.IPermission Intersect (System.Security.IPermission target);" />
- <MemberType>Method</MemberType>
- <ReturnValue>
- <ReturnType>System.Security.IPermission</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="target" Type="System.Security.IPermission" />
- </Parameters>
- <Docs>
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The intersection of two permissions is a permission that describes the set of operations they both describe. Only a demand that passes both original permissions will pass the intersection.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Returns a new permission object representing the intersection of the current permission object and the specified permission object.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>A new permission object that represents the intersection of the current permission object and the specified permission object. This new permission object is a null reference (Nothing in Visual Basic) if the intersection is empty.</para>
- </returns>
- <param name="target">
- <attribution license="cc4" from="Microsoft" modified="false" />A permission object to intersect with the current permission object. It must be of the same type as the current permission object. </param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="IsSubsetOf">
- <MemberSignature Language="C#" Value="public override bool IsSubsetOf (System.Security.IPermission target);" />
- <MemberType>Method</MemberType>
- <ReturnValue>
- <ReturnType>System.Boolean</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="target" Type="System.Security.IPermission" />
- </Parameters>
- <Docs>
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The current permission object is a subset of the specified permission object if the current permission object specifies a set of operations that is wholly contained by the specified permission object. For example, a permission that represents access to C:\example.txt is a subset of a permission that represents access to C:\. If this method returns true, the current permission object represents no more access to the protected resource than does the specified permission object.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Returns a value indicating whether the current permission object is a subset of the specified permission object.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>true if the current permission object is a subset of the specified permission object, otherwise false.</para>
- </returns>
- <param name="target">
- <attribution license="cc4" from="Microsoft" modified="false" />A permission object that is to be tested for the subset relationship. This object must be of the same type as the current permission object. </param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="IsUnrestricted">
- <MemberSignature Language="C#" Value="public bool IsUnrestricted ();" />
- <MemberType>Method</MemberType>
- <ReturnValue>
- <ReturnType>System.Boolean</ReturnType>
- </ReturnValue>
- <Parameters />
- <Docs>
- <remarks>To be added</remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Returns a value indicating whether the permission can be represented as unrestricted without any knowledge of the permission semantics.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>true if the permission can be represented as unrestricted.</para>
- </returns>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="ToXml">
- <MemberSignature Language="C#" Value="public override System.Security.SecurityElement ToXml ();" />
- <MemberType>Method</MemberType>
- <ReturnValue>
- <ReturnType>System.Security.SecurityElement</ReturnType>
- </ReturnValue>
- <Parameters />
- <Docs>
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Custom code that extends security objects must implement the <see cref="M:System.Data.Common.DBDataPermission.ToXml" /> and <see cref="M:System.Data.Common.DBDataPermission.FromXml(System.Security.SecurityElement)" /> methods to make the objects security encodable.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Creates an XML encoding of the security object and its current state.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>An XML encoding of the security object, including any state information.</para>
- </returns>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="Union">
- <MemberSignature Language="C#" Value="public override System.Security.IPermission Union (System.Security.IPermission target);" />
- <MemberType>Method</MemberType>
- <ReturnValue>
- <ReturnType>System.Security.IPermission</ReturnType>
- </ReturnValue>
- <Parameters>
- <Parameter Name="target" Type="System.Security.IPermission" />
- </Parameters>
- <Docs>
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The result of a call to <see cref="M:System.Data.Common.DBDataPermission.Union(System.Security.IPermission)" /> is a permission that represents all the operations permitted by both the current permission object and the specified permission object. Any demand that passes either permission passes their union.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Returns a new permission object that is the union of the current and specified permission objects.</para>
- </summary>
- <returns>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>A new permission object that represents the union of the current permission object and the specified permission object.</para>
- </returns>
- <param name="target">
- <attribution license="cc4" from="Microsoft" modified="false" />A permission object to combine with the current permission object. It must be of the same type as the current permission object. </param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>1.0.5000.0</AssemblyVersion>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- </Members>
- </Type>
|