Sdílet prostřednictvím


SfcDomainInfoCollection.Contains Method (String)

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)

Syntax

'Declaration
Public Function Contains ( _
    domainName As String _
) As Boolean
'Usage
Dim instance As SfcDomainInfoCollection
Dim domainName As String
Dim returnValue As Boolean

returnValue = instance.Contains(domainName)
public bool Contains(
    string domainName
)
public:
bool Contains(
    String^ domainName
)
member Contains : 
        domainName:string -> bool 
public function Contains(
    domainName : String
) : boolean

Parameters

  • domainName
    Type: System.String
    A string value of the domain name.

Return Value

Type: System.Boolean
true if the collection contains specified objects; otherwise, false.