Freigeben über


SfcDictionaryCollection<T, K, ParentT>.GetObjectByKey-Methode

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Protected Overrides Function GetObjectByKey ( _
    key As K _
) As T
'Usage
Dim key As K
Dim returnValue As T

returnValue = Me.GetObjectByKey(key)
protected override T GetObjectByKey(
    K key
)
protected:
virtual T GetObjectByKey(
    K key
) override
abstract GetObjectByKey : 
        key:'K -> 'T 
override GetObjectByKey : 
        key:'K -> 'T 
protected override function GetObjectByKey(
    key : K
) : T

Parameter

  • key
    Typ: K
    The existing key object in the collection.

Rückgabewert

Typ: T
The object in the collection that contains a key.

Siehe auch

Verweis

SfcDictionaryCollection<T, K, ParentT> Klasse

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace