SfcCollection<T, K, ParentT>.GetExistingObjectByKey 메서드

Uses the specified key to retrieve an existing object from the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

네임스페이스:  Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리:  Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)

구문

‘선언
Protected MustOverride Function GetExistingObjectByKey ( _
    key As K _
) As T
‘사용 방법
Dim key As K
Dim returnValue As T

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

매개 변수

  • key
    유형: K
    The key that identifies the object to get.

반환 값

유형: T
An object from the collection or nullnull 참조(Visual Basic에서는 Nothing) if a matching object was not found.

참고 항목

참조

SfcCollection<T, K, ParentT> 클래스

Microsoft.SqlServer.Management.Sdk.Sfc 네임스페이스