DBStatusBar.IsCurrentUser Method
Gets whether the specified user is the current user.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Function IsCurrentUser ( _
possibleOwner As DBStatusBarOwner, _
user As IVsStatusbarUser, _
ByRef current As Integer _
) As Integer
'Usage
Dim instance As DBStatusBar
Dim possibleOwner As DBStatusBarOwner
Dim user As IVsStatusbarUser
Dim current As Integer
Dim returnValue As Integer
returnValue = instance.IsCurrentUser(possibleOwner, _
user, current)
public int IsCurrentUser(
DBStatusBarOwner possibleOwner,
IVsStatusbarUser user,
ref int current
)
public:
int IsCurrentUser(
DBStatusBarOwner^ possibleOwner,
IVsStatusbarUser^ user,
int% current
)
public function IsCurrentUser(
possibleOwner : DBStatusBarOwner,
user : IVsStatusbarUser,
current : int
) : int
member IsCurrentUser :
possibleOwner:DBStatusBarOwner *
user:IVsStatusbarUser *
current:int -> int
Parameters
- possibleOwner
Type: Microsoft.Data.Schema.Sql.Common.UI.DBStatusBarOwner
The possible owner
- user
Type: Microsoft.VisualStudio.Shell.Interop.IVsStatusbarUser
The specified user
- current
Type: System.Int32%
Resulting value is whether user is current
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace