Equality 연산자
Creates a server permission set by performing an equality operation on two ServerPermission objects.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Shared Operator = ( _
p1 As ServerPermission, _
p2 As ServerPermission _
) As Boolean
‘사용 방법
Dim p1 As ServerPermission
Dim p2 As ServerPermission
Dim returnValue As Boolean
returnValue = (p1 = p2)
public static bool operator ==(
ServerPermission p1,
ServerPermission p2
)
public:
static bool operator ==(
ServerPermission^ p1,
ServerPermission^ p2
)
static let inline (=)
p1:ServerPermission *
p2:ServerPermission : bool
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.
매개 변수
- p1
유형: Microsoft.SqlServer.Management.Smo. . :: . .ServerPermission
A ServerPermission object that specifies the server permission.
- p2
유형: Microsoft.SqlServer.Management.Smo. . :: . .ServerPermission
A ServerPermission object that specifies the server permission.
반환 값
유형: System. . :: . .Boolean
A ServerPermissionSet object that specifies a set of server permissions.