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.StringThe 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
- 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.