SfcCollection<'T, 'K, 'ParentT>.GetExistingObjectByKey Method ('K)


Uses the specified key to retrieve an existing object from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

No code example is currently available or this language may not be supported.


Type: K

The key that identifies the object to get.

Return Value

Type: T

An object from the collection or null if a matching object was not found.

Type Parameters


The type of the items in the collection.


The type of the key, constrained to SfcKey.

Return to top