Delen via


SecurityNamespaceDescription Constructor

Initializes a new instance of the SecurityNamespaceDescription class.

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

Syntax

'Declaration
Public Sub New ( _
    namespaceId As Guid, _
    name As String, _
    displayName As String, _
    databaseCategory As String, _
    separatorValue As Char, _
    elementLength As Integer, _
    structure As SecurityNamespaceStructure, _
    writePermission As Integer, _
    readPermission As Integer, _
    actions As IEnumerable(Of ActionDefinition) _
)
public SecurityNamespaceDescription(
    Guid namespaceId,
    string name,
    string displayName,
    string databaseCategory,
    char separatorValue,
    int elementLength,
    SecurityNamespaceStructure structure,
    int writePermission,
    int readPermission,
    IEnumerable<ActionDefinition> actions
)
public:
SecurityNamespaceDescription(
    Guid namespaceId, 
    String^ name, 
    String^ displayName, 
    String^ databaseCategory, 
    wchar_t separatorValue, 
    int elementLength, 
    SecurityNamespaceStructure structure, 
    int writePermission, 
    int readPermission, 
    IEnumerable<ActionDefinition^>^ actions
)
new : 
        namespaceId:Guid * 
        name:string * 
        displayName:string * 
        databaseCategory:string * 
        separatorValue:char * 
        elementLength:int * 
        structure:SecurityNamespaceStructure * 
        writePermission:int * 
        readPermission:int * 
        actions:IEnumerable<ActionDefinition> -> SecurityNamespaceDescription
public function SecurityNamespaceDescription(
    namespaceId : Guid, 
    name : String, 
    displayName : String, 
    databaseCategory : String, 
    separatorValue : char, 
    elementLength : int, 
    structure : SecurityNamespaceStructure, 
    writePermission : int, 
    readPermission : int, 
    actions : IEnumerable<ActionDefinition>
)

Parameters

  • databaseCategory
    Type: System.String

    The database category that describes where the security information for this SecurityNamespace should be stored.

  • separatorValue
    Type: System.Char

    Specifies the character that separates security tokens. Specify null for no separator.

  • elementLength
    Type: System.Int32

    Specifies the character length of security tokens in this namespace. Specify -1 if security token character length varies.

  • writePermission
    Type: System.Int32

    The permission bits that are required by a user in order to modify security data in this SecurityNamespace.

  • readPermission
    Type: System.Int32

    The permission bits that are required by a user in order to read security data in this SecurityNamespace.

.NET Framework Security

See Also

Reference

SecurityNamespaceDescription Class

Microsoft.TeamFoundation.Framework.Client Namespace