DataConnectionProperties.Initialize Method
Initializes the current DataConnectionProperties instance to its default state, and then sets each property in the specified dictionary.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Sub Initialize ( _
properties As IDictionary(Of String, Object) _
)
protected void Initialize(
IDictionary<string, Object> properties
)
protected:
void Initialize(
IDictionary<String^, Object^>^ properties
)
member Initialize :
properties:IDictionary<string, Object> -> unit
protected function Initialize(
properties : IDictionary<String, Object>
)
Parameters
- properties
Type: System.Collections.Generic.IDictionary<String, Object>
A dictionary of property name/value pairs with which the current DataConnectionProperties instance is configured. This parameter may be nulla null reference (Nothing in Visual Basic), in which case no properties are configured.
Remarks
This method first clears all the internal storage of properties, and then calls the InitializeProperties, InitializeSynonyms, and InitializeValues(IDictionary) methods, in that order.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.