Merge pull request #966 from ermshiperete/bug-xamarin-18511
[mono.git] / mcs / class / System.Data / Documentation / en / System.Data.Common / DBDataPermissionAttribute.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="DBDataPermissionAttribute" FullName="System.Data.Common.DBDataPermissionAttribute">
3   <TypeSignature Language="C#" Value="public abstract class DBDataPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute" Maintainer="auto" />
4   <AssemblyInfo>
5     <AssemblyName>System.Data</AssemblyName>
6     <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
7     <AssemblyVersion>1.0.3300.0</AssemblyVersion>
8     <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9     <AssemblyVersion>2.0.0.0</AssemblyVersion>
10   </AssemblyInfo>
11   <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
12   <Base>
13     <BaseTypeName>System.Security.Permissions.CodeAccessSecurityAttribute</BaseTypeName>
14   </Base>
15   <Interfaces />
16   <Attributes>
17     <Attribute>
18       <AttributeName>System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Constructor | System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)</AttributeName>
19     </Attribute>
20   </Attributes>
21   <Docs>
22     <remarks>To be added</remarks>
23     <summary>
24       <attribution license="cc4" from="Microsoft" modified="false" />
25       <para>Associates a security action with a custom security attribute. </para>
26     </summary>
27   </Docs>
28   <Members>
29     <Member MemberName=".ctor">
30       <MemberSignature Language="C#" Value="protected DBDataPermissionAttribute (System.Security.Permissions.SecurityAction action);" />
31       <MemberType>Constructor</MemberType>
32       <ReturnValue />
33       <Parameters>
34         <Parameter Name="action" Type="System.Security.Permissions.SecurityAction" />
35       </Parameters>
36       <Docs>
37         <remarks>To be added</remarks>
38         <summary>
39           <attribution license="cc4" from="Microsoft" modified="false" />
40           <para>Initializes a new instance of the <see cref="T:System.Data.Common.DBDataPermissionAttribute" />.</para>
41         </summary>
42         <param name="action">
43           <attribution license="cc4" from="Microsoft" modified="false" />One of the security action values representing an action that can be performed by declarative security.</param>
44       </Docs>
45       <AssemblyInfo>
46         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
47         <AssemblyVersion>2.0.0.0</AssemblyVersion>
48       </AssemblyInfo>
49     </Member>
50     <Member MemberName="AllowBlankPassword">
51       <MemberSignature Language="C#" Value="public bool AllowBlankPassword { set; get; }" />
52       <MemberType>Property</MemberType>
53       <ReturnValue>
54         <ReturnType>System.Boolean</ReturnType>
55       </ReturnValue>
56       <Parameters>
57       </Parameters>
58       <Docs>
59         <value>To be added: an object of type 'bool'</value>
60         <remarks>To be added</remarks>
61         <summary>
62           <attribution license="cc4" from="Microsoft" modified="false" />
63           <para>Gets or sets a value indicating whether a blank password is allowed.</para>
64         </summary>
65       </Docs>
66       <AssemblyInfo>
67         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
68         <AssemblyVersion>2.0.0.0</AssemblyVersion>
69       </AssemblyInfo>
70     </Member>
71     <Member MemberName="ConnectionString">
72       <MemberSignature Language="C#" Value="public string ConnectionString { set; get; }" />
73       <MemberType>Property</MemberType>
74       <AssemblyInfo>
75         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
76         <AssemblyVersion>2.0.0.0</AssemblyVersion>
77       </AssemblyInfo>
78       <ReturnValue>
79         <ReturnType>System.String</ReturnType>
80       </ReturnValue>
81       <Docs>
82         <value>To be added.</value>
83         <remarks>
84           <attribution license="cc4" from="Microsoft" modified="false" />
85           <para>Multiple connection strings may be identified. You may also provide additional connection string restrictions using KeyRestrictions.</para>
86         </remarks>
87         <summary>
88           <attribution license="cc4" from="Microsoft" modified="false" />
89           <para>Gets or sets a permitted connection string.</para>
90         </summary>
91       </Docs>
92     </Member>
93     <Member MemberName="KeyRestrictionBehavior">
94       <MemberSignature Language="C#" Value="public System.Data.KeyRestrictionBehavior KeyRestrictionBehavior { set; get; }" />
95       <MemberType>Property</MemberType>
96       <AssemblyInfo>
97         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
98         <AssemblyVersion>2.0.0.0</AssemblyVersion>
99       </AssemblyInfo>
100       <ReturnValue>
101         <ReturnType>System.Data.KeyRestrictionBehavior</ReturnType>
102       </ReturnValue>
103       <Docs>
104         <value>To be added.</value>
105         <remarks>To be added.</remarks>
106         <summary>
107           <attribution license="cc4" from="Microsoft" modified="false" />
108           <para>Identifies whether the list of connection string parameters identified by the <see cref="P:System.Data.Common.DBDataPermissionAttribute.KeyRestrictions" /> property are the only connection string parameters allowed.</para>
109         </summary>
110       </Docs>
111     </Member>
112     <Member MemberName="KeyRestrictions">
113       <MemberSignature Language="C#" Value="public string KeyRestrictions { set; get; }" />
114       <MemberType>Property</MemberType>
115       <AssemblyInfo>
116         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
117         <AssemblyVersion>2.0.0.0</AssemblyVersion>
118       </AssemblyInfo>
119       <ReturnValue>
120         <ReturnType>System.String</ReturnType>
121       </ReturnValue>
122       <Docs>
123         <value>To be added.</value>
124         <remarks>
125           <attribution license="cc4" from="Microsoft" modified="false" />
126           <para>Connection string parameters are identified in the form &lt;parameter name&gt;=. Multiple parameters can be specified, delimited using a semicolon (;). The connection string parameters listed may be identified as either the only additional parameters allowed or additional parameters that are not allowed using the <see cref="P:System.Data.Common.DBDataPermissionAttribute.KeyRestrictionBehavior" /> property.</para>
127           <para>If no key restrictions are specified, and the <see cref="P:System.Data.Common.DBDataPermissionAttribute.KeyRestrictionBehavior" /> property is set to AllowOnly, no additional connection string parameters are allowed.</para>
128           <para>If no key restrictions are specified, and the <see cref="P:System.Data.Common.DBDataPermissionAttribute.KeyRestrictionBehavior" /> property is set to PreventUsage, additional connection string parameters are allowed. If more than one rule is set for the same connection string, the more restrictive rule is selected during the permission check.</para>
129         </remarks>
130         <summary>
131           <attribution license="cc4" from="Microsoft" modified="false" />
132           <para>Gets or sets connection string parameters that are allowed or disallowed.</para>
133         </summary>
134       </Docs>
135     </Member>
136     <Member MemberName="ShouldSerializeConnectionString">
137       <MemberSignature Language="C#" Value="public bool ShouldSerializeConnectionString ();" />
138       <MemberType>Method</MemberType>
139       <AssemblyInfo>
140         <AssemblyVersion>2.0.0.0</AssemblyVersion>
141       </AssemblyInfo>
142       <Attributes>
143         <Attribute>
144           <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
145         </Attribute>
146       </Attributes>
147       <ReturnValue>
148         <ReturnType>System.Boolean</ReturnType>
149       </ReturnValue>
150       <Parameters />
151       <Docs>
152         <returns>To be added.</returns>
153         <remarks>To be added.</remarks>
154         <summary>
155           <attribution license="cc4" from="Microsoft" modified="false" />
156           <para>Identifies whether the attribute should serialize the connection string.</para>
157         </summary>
158       </Docs>
159     </Member>
160     <Member MemberName="ShouldSerializeKeyRestrictions">
161       <MemberSignature Language="C#" Value="public bool ShouldSerializeKeyRestrictions ();" />
162       <MemberType>Method</MemberType>
163       <AssemblyInfo>
164         <AssemblyVersion>2.0.0.0</AssemblyVersion>
165       </AssemblyInfo>
166       <Attributes>
167         <Attribute>
168           <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
169         </Attribute>
170       </Attributes>
171       <ReturnValue>
172         <ReturnType>System.Boolean</ReturnType>
173       </ReturnValue>
174       <Parameters />
175       <Docs>
176         <returns>To be added.</returns>
177         <remarks>To be added.</remarks>
178         <summary>
179           <attribution license="cc4" from="Microsoft" modified="false" />
180           <para>Identifies whether the attribute should serialize the set of key restrictions.</para>
181         </summary>
182       </Docs>
183     </Member>
184   </Members>
185 </Type>