Partager via


SecurityNamespaceDescription.GetBitmaskForAction Method

Gets the bitmask that corresponds to the action name.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Function GetBitmaskForAction ( _
    actionName As String _
) As Integer
public int GetBitmaskForAction(
    string actionName
)
public:
int GetBitmaskForAction(
    String^ actionName
)
member GetBitmaskForAction : 
        actionName:string -> int
public function GetBitmaskForAction(
    actionName : String
) : int

Parameters

  • actionName
    Type: System.String

    The nonlocalized name for the action.

Return Value

Type: System.Int32
The bitmask that corresponds to the action name. Returns 0 if the specified action is not defined in this namespace.

.NET Framework Security

See Also

Reference

SecurityNamespaceDescription Class

Microsoft.TeamFoundation.Framework.Client Namespace