共用方式為


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 命名空間