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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。