TechnologyBase.Contains Method

Applies To: System Center Configuration Manager 2012, System Center Configuration Manager 2012

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Checks whether the technology exists in the registrar.

Namespace: Microsoft.ConfigurationManagement.ApplicationManagement
Assembly: Microsoft.ConfigurationManagement.ApplicationManagement (in Microsoft.ConfigurationManagement.ApplicationManagement.dll)

Usage

'Usage
Dim technologyId As String
Dim returnValue As Boolean

returnValue = TechnologyBase(Of T).Contains(technologyId)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")> _
Public Shared Function Contains ( _
    technologyId As String _
) As Boolean
[SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")] 
public static bool Contains (
    string technologyId
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1000:DoNotDeclareStaticMembersOnGenericTypes")] 
public:
static bool Contains (
    String^ technologyId
)
/** @attribute SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes") */ 
public static boolean Contains (
    String technologyId
)
SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes") 
public static function Contains (
    technologyId : String
) : boolean

Parameters

  • technologyId
    The technology identifier to check.

Return Value

Returns Boolean.

Returns true if the technology is registered, false otherwise.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

TechnologyBase Generic Class
TechnologyBase Members
Microsoft.ConfigurationManagement.ApplicationManagement Namespace