xSQL Schema Compare SDK for SQL Server version 12
Contains(String) Method


The permission code to locate.
Indicates whether the collection contains a permission type with the specified code.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function Contains( _
   ByVal typeCode As System.String _
) As System.Boolean
public override System.bool Contains( 
   System.string typeCode
)
public: System.bool Contains( 
   System.string* typeCode
) override 

Parameters

typeCode
The permission code to locate.

Return Value

true if the collection contains an element with the specified code.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe typeCode parameter is null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PermissionTypeCollection Class
PermissionTypeCollection Members
Overload List

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback