Contains 方法 (String)
不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Function Contains ( _
domainName As String _
) As Boolean
'用途
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
參數
- domainName
型別:System. . :: . .String
A string value of the domain name.
傳回值
型別:System. . :: . .Boolean
true if the collection contains specified objects; otherwise, false.