Compartir a través de


GetExistingObjectByKey Método

No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Protected Overrides Function GetExistingObjectByKey ( _
    key As K _
) As T
'Uso
Dim key As K
Dim returnValue As T

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

Parámetros

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

Valor devuelto

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