共用方式為


SfcListCollection(T, K, ParentT) 類別

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >
    Microsoft.SqlServer.Management.Sdk.Sfc..::..SfcListCollection<(Of <(<'T, K, ParentT>)>)>

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

語法

'宣告
Public MustInherit Class SfcListCollection(Of T As SfcInstance, K As SfcKey, ParentT As SfcInstance) _
    Inherits SfcCollection(Of T, K, ParentT) _
    Implements IEnumerable
'用途
Dim instance As SfcListCollection(Of T, K, ParentT)
public abstract class SfcListCollection<T, K, ParentT> : SfcCollection<T, K, ParentT>, 
    IEnumerable
where T : SfcInstance
where K : SfcKey
where ParentT : SfcInstance
generic<typename T, typename K, typename ParentT>
where T : SfcInstance
where K : SfcKey
where ParentT : SfcInstance
public ref class SfcListCollection abstract : public SfcCollection<T, K, ParentT>, 
    IEnumerable
[<AbstractClassAttribute>]
type SfcListCollection<'T, 'K, 'ParentT when 'T : SfcInstance when 'K : SfcKey when 'ParentT : SfcInstance> =  
    class
        inherit SfcCollection<'T, 'K, 'ParentT>
        interface IEnumerable
    end
JScript 不支援一般類型和方法。

型別參數

  • T
  • K
  • ParentT

SfcListCollection<(Of <(<'T, K, ParentT>)>)> 型別公開下列成員。

建構函式

  名稱 說明
受保護的方法 SfcListCollection< (Of < ( <'T, K, ParentT> ) > ) > Initializes a new instance of the SfcListCollection<(Of <(<'T, K, ParentT>)>)> class with the specified parent parameter. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

上層

屬性

  名稱 說明
公用屬性 Count 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Count。)
受保護的屬性 Initialized Gets a value indicating whether the collection has been initialized. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
公用屬性 IsReadOnly 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .IsReadOnly。)
公用屬性 IsSynchronized Gets or sets a value indicating whether access to the collection is synchronized (thread safe). 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
公用屬性 Item Gets the item specified by the key. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
受保護的屬性 Parent Gets or sets the type of the parent object. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
公用屬性 SyncRoot Gets or sets an object that can be used to synchronize access to the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)

上層

方法

  名稱 說明
公用方法 Add Adds and object to the collection .不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Add(T)。)
受保護的方法 AddShadow 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .AddShadow(T)。)
公用方法 Clear 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Clear() () () ()。)
公用方法 Contains(K) Determines whether an element is in the list collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Contains(T)。)
公用方法 Contains(T) 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Contains(T)。)
公用方法 CopyTo(Array, Int32) Copies the elements from the collection to the specified array, starting at the specified array index. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
公用方法 CopyTo(array<T> [] () [] [], Int32) 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .CopyTo(array<T> [] () [] [], Int32)。)
受保護的方法 CreateAndInitializeChildObject Creates a child object and adds it to the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
受保護的方法 EnsureCollectionInitialized Initialize the collection from the server. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
受保護的方法 FinishMerge 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .FinishMerge() () () ()。)
受保護的方法 GetCollectionElementNameImpl Gets the Uniform Resource Name (URN) suffix for elements in the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
受保護的方法 GetElementFactoryImpl Returns the factory that is used to instantiate objects for the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
公用方法 GetEnumerator 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets an enumeration of the collection. (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .GetEnumerator() () () ()。)
受保護的方法 GetExistingObjectByKey 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .GetExistingObjectByKey(K)。)
公用方法 GetHashCode (繼承自 Object。)
受保護的方法 GetInternalCollectionImpl 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
受保護的方法 GetObjectByKey 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .GetObjectByKey(K)。)
公用方法 GetType (繼承自 Object。)
受保護的方法 ImplAddExisting Adds the specified object to the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .ImplAddExisting(T)。)
受保護的方法 ImplRemoveExisting Removes the specified object from the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .ImplRemoveExisting(T)。)
受保護的方法 InitInnerCollection 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .InitInnerCollection() () () ()。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 PrepareMerge 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .PrepareMerge() () () ()。)
公用方法 Refresh() () () () Refreshes the collection by creating new and merging existing objects and properties in the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
公用方法 Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
公用方法 Remove 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Remove(T)。)
受保護的方法 RemoveInternal Marks the specified object for removal. The state of the object is set to ToBeDropped. The object will be removed when the parent is altered or dropped. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
受保護的方法 Rename Renames the specified object. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用屬性 IListSource. . :: . .ContainsListCollection Gets a value indicating whether the collection is a collection of IList objects. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 IEnumerable. . :: . .GetEnumerator Gets an enumerator that can iterate the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 IListSource. . :: . .GetList Returns an IList object that can be bound to a data source from an object that does not implement the IList interface. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .Add Adds the specified object to the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .AddShadow Adds the specified object to the shadow collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用屬性 ISfcCollection. . :: . .Count Gets the number of items contained in the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .EnsureInitialized Initializes the collection from the server. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .FinishMerge Swaps the new collection for the old collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .GetCollectionElementNameImpl Gets the URN suffix for elements in the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .GetElementFactory Gets the factory that is used to instantiate objects for the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .GetExisting Uses the specified key to retrieve an existing item from the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .GetObjectByKey Uses the specified key to retrieve an object from the collection. If a matching object is not found, the object is created, and added to the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用屬性 ISfcCollection. . :: . .Initialized Gets or sets a value indicating whether the collection has been initialized. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用屬性 ISfcCollection. . :: . .Parent Gets the parent object. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .PrepareMerge Prepares to merge fresh query results into the existing collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .Remove Removes the specified object from the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .RemoveElement Removes the specified element from the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)
明確介面實作私用方法 ISfcCollection. . :: . .Rename Renames the specified object. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。