GetObjectByKey Method

SfcCollatedDictionaryCollection<'T, 'K, 'ParentT>.GetObjectByKey Method ('K)

 

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. 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)

override GetObjectByKey : 
        key:'K -> 'T

Parameters

key
Type: K

The key that identifies the object to get.

Return Value

Type: T

An object from the collection.

Type Parameters

K

The type of the key, constrained to SfcKey.

Return to top
Show:
© 2016 Microsoft