SfcCollection<T, K, ParentT>.ISfcCollection.GetElementFactory 方法

Gets the factory that is used to instantiate objects for the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Private Function GetElementFactory As SfcObjectFactory 
    Implements ISfcCollection.GetElementFactory
用法
Dim instance As SfcCollection 
Dim returnValue As SfcObjectFactory 

returnValue = CType(instance, ISfcCollection).GetElementFactory()
SfcObjectFactory ISfcCollection.GetElementFactory()
private:
virtual SfcObjectFactory^ GetElementFactory() sealed = ISfcCollection::GetElementFactory
private abstract GetElementFactory : unit -> SfcObjectFactory  
private override GetElementFactory : unit -> SfcObjectFactory
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。

返回值

类型:Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
The SfcObjectFactory object that is used to instantiate objects.

实现

ISfcCollection.GetElementFactory()

请参阅

参考

SfcCollection<T, K, ParentT> 类

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间