ISfcCollection.GetObjectByKey 메서드
Uses the specified key to retrieve an object from the collection. If a matching object is not found in the collection, the object is created in the collection.코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Function GetObjectByKey ( _
key As SfcKey _
) As SfcInstance
‘사용 방법
Dim instance As ISfcCollection
Dim key As SfcKey
Dim returnValue As SfcInstance
returnValue = instance.GetObjectByKey(key)
SfcInstance GetObjectByKey(
SfcKey key
)
SfcInstance^ GetObjectByKey(
SfcKey^ key
)
abstract GetObjectByKey :
key:SfcKey -> SfcInstance
function GetObjectByKey(
key : SfcKey
) : SfcInstance
매개 변수
- key
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The key that identifies the object to get.
반환 값
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
An SfcInstance object that represents the object from the collection.