RemoteSystemAuthorizationKind 列舉

定義

包含值,指定用戶端裝置只能探索相同使用者裝置或其他使用者的裝置。 跨使用者裝置必須透過近端連線取得,才能探索 (請參閱 RemoteSystemDiscoveryType 以取得詳細資料) 。

public enum class RemoteSystemAuthorizationKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class RemoteSystemAuthorizationKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum RemoteSystemAuthorizationKind
var value = Windows.System.RemoteSystems.RemoteSystemAuthorizationKind.sameUser
Public Enum RemoteSystemAuthorizationKind
繼承
RemoteSystemAuthorizationKind
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
應用程式功能
remoteSystem

欄位

Anonymous 1

用戶端裝置可以探索其他使用者的裝置,前提是這些裝置可用於近端連線。

SameFamily 2
SameUser 0

用戶端裝置只能探索相同使用者登入的裝置。

備註

如果未在裝置探索中使用 RemoteSystemAuthorizationKindFilter ,則預設行為是只探索相同的使用者裝置。

適用於