共用方式為


DomainRoleInfo.IsSource Property

Gets the domain role and verifies that it is source code.

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

Syntax

'宣告
Public ReadOnly Property IsSource As Boolean
    Get
public bool IsSource { get; }
public:
property bool IsSource {
    bool get ();
}
member IsSource : bool
function get IsSource () : boolean

Property Value

Type: System.Boolean
true if this is the source role; otherwise, false.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

Microsoft.VisualStudio.Modeling Namespace