SfcCollection<T, K, ParentT>.ISfcCollection.GetObjectByKey 메서드
Uses the specified key to retrieve an object from the collection. If a matching object is not found, the object is created, and added to the collection
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Private Function GetObjectByKey ( _
key As SfcKey _
) As SfcInstance Implements ISfcCollection.GetObjectByKey
‘사용 방법
Dim instance As SfcCollection
Dim key As SfcKey
Dim returnValue As SfcInstance
returnValue = CType(instance, ISfcCollection).GetObjectByKey(key)
SfcInstance ISfcCollection.GetObjectByKey(
SfcKey key
)
private:
virtual SfcInstance^ GetObjectByKey(
SfcKey^ key
) sealed = ISfcCollection::GetObjectByKey
private abstract GetObjectByKey :
key:SfcKey -> SfcInstance
private override GetObjectByKey :
key:SfcKey -> SfcInstance
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- key
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The key that identifies the object to get.
반환 값
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The object from the collection.
구현
ISfcCollection.GetObjectByKey(SfcKey)