ObjectSecurity.GetSecurityDescriptorBinaryForm 方法

定義

傳回表示此 ObjectSecurity 物件之安全性描述元資訊的位元組值陣列。

public:
 cli::array <System::Byte> ^ GetSecurityDescriptorBinaryForm();
public byte[] GetSecurityDescriptorBinaryForm ();
member this.GetSecurityDescriptorBinaryForm : unit -> byte[]
Public Function GetSecurityDescriptorBinaryForm () As Byte()

傳回

Byte[]

傳回表示此 ObjectSecurity 物件之安全性描述元的位元組值陣列。 如果此 ObjectSecurity 物件中沒有安全性資訊,則這個方法會傳回 null

備註

這個方法會傳回記憶體中目前的安全性描述項資訊。 它不會擷取儲存在永久儲存體中的資訊。

適用於