DatabasePermission.Equality 연산자
Compares two DatabasePermission objects in an equality operation.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Shared Operator = ( _
p1 As DatabasePermission, _
p2 As DatabasePermission _
) As Boolean
‘사용 방법
Dim p1 As DatabasePermission
Dim p2 As DatabasePermission
Dim returnValue As Boolean
returnValue = (p1 = p2)
public static bool operator ==(
DatabasePermission p1,
DatabasePermission p2
)
public:
static bool operator ==(
DatabasePermission^ p1,
DatabasePermission^ p2
)
static let inline(=)
p1:DatabasePermission *
p2:DatabasePermission : bool
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.
매개 변수
- p1
유형: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies the database permissions.
- p2
유형: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies the database permissions.
반환 값
유형: System.Boolean
A Boolean value that specifies whether the objects are not equal.If True, the objects are equal. Otherwise, False.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스