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


The security policy schema.
The security policy name.
Indicates whether the collection contains a security policy with the specified schema and name.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal schema As System.String, _
   ByVal name As System.String _
) As System.Boolean
public System.bool Contains( 
   System.string schema,
   System.string name
)
public: System.bool Contains( 
   System.string* schema,
   System.string* name
) 

Parameters

schema
The security policy schema.
name
The security policy name.

Return Value

true if the collection contains security policy with the specified schema and name.
Exceptions
ExceptionDescription
System.ArgumentNullException

The schema parameter is null

or

The name 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

SqlSecurityPolicyCollection Class
SqlSecurityPolicyCollection Members
Overload List

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback