Supports creation of the DataConnectionProperties and DataConnectionSupport types.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Overrides Function CreateObject ( _
objType As Type _
) As Object
'使用
Dim instance As AdoDotNetProviderObjectFactory
Dim objType As Type
Dim returnValue As Object
returnValue = instance.CreateObject(objType)
public override Object CreateObject(
Type objType
)
public:
virtual Object^ CreateObject(
Type^ objType
) override
public override function CreateObject(
objType : Type
) : Object
Parameters
- objType
Type: System.Type
Return Value
Type: System.Object
Returns an object of type specified by the objectType parameter, or a null reference (Nothing in Visual Basic) if the object type is not supported.
Permissions
- 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.
See Also
Reference
AdoDotNetProviderObjectFactory Class
AdoDotNetProviderObjectFactory Members