共用方式為


RolePlayerConnectDirective.UsesRoleSpecificCustomAccept Property

Gets or sets the value of UsesRoleSpecificCustomAccept domain property. If True, acceptance for connection is defined in custom code.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("6e99d4fe-fb29-4215-8e19-c39a9a6bd943")> _
Public Property UsesRoleSpecificCustomAccept As Boolean
    Get
    Set
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("6e99d4fe-fb29-4215-8e19-c39a9a6bd943")]
public bool UsesRoleSpecificCustomAccept { get; set; }
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"6e99d4fe-fb29-4215-8e19-c39a9a6bd943")]
public:
property bool UsesRoleSpecificCustomAccept {
    bool get ();
    void set (bool value);
}
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective/UsesRoleSpecificCustomAccept.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("6e99d4fe-fb29-4215-8e19-c39a9a6bd943")>]
member UsesRoleSpecificCustomAccept : bool with get, set
function get UsesRoleSpecificCustomAccept () : boolean
function set UsesRoleSpecificCustomAccept (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

RolePlayerConnectDirective Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace