共用方式為


OleDbProviderSettingsCollection.GetCollectionElementType 方法

Gets the Type of object contained in the OleDbProviderSettings collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Protected Overrides Function GetCollectionElementType As Type
'用途
Dim returnValue As Type 

returnValue = Me.GetCollectionElementType()
protected override Type GetCollectionElementType()
protected:
virtual Type^ GetCollectionElementType() override
abstract GetCollectionElementType : unit -> Type  
override GetCollectionElementType : unit -> Type
protected override function GetCollectionElementType() : Type

傳回值

型別:System.Type
The type of object contained in the collection.

範例

使用集合

請參閱

參考

OleDbProviderSettingsCollection 類別

Microsoft.SqlServer.Management.Smo 命名空間