共用方式為


Principal 屬性

Gets or sets the list of security principals.

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services (在 Microsoft.MasterDataServices.Services.dll 中)

語法

'宣告
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property Principal As SecurityPrincipals
    Get
    Set
'用途
Dim instance As SecuritySet
Dim value As SecurityPrincipals

value = instance.Principal

instance.Principal = value
[DataMemberAttribute(EmitDefaultValue = false)]
public SecurityPrincipals Principal { get; set; }
[DataMemberAttribute(EmitDefaultValue = false)]
public:
property SecurityPrincipals^ Principal {
    SecurityPrincipals^ get ();
    void set (SecurityPrincipals^ value);
}
[<DataMemberAttribute(EmitDefaultValue = false)>]
member Principal : SecurityPrincipals with get, set
function get Principal () : SecurityPrincipals
function set Principal (value : SecurityPrincipals)