共用方式為


DatabaseReplicaStateCollectionBase.GetCollectionElementType 方法

Indicates the type of object that the collection consists of.

命名空間:  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 that the collection consists of.

請參閱

參考

DatabaseReplicaStateCollectionBase 類別

Microsoft.SqlServer.Management.Smo 命名空間