共用方式為


PackageVolume.FindPackagesForUserWithPackageTypes 方法

定義

多載

FindPackagesForUserWithPackageTypes(String, PackageTypes)

取得指定使用者或使用者以及具有指定封裝類型之所有 套件 之所有已安裝實例的相關資訊集合。

FindPackagesForUserWithPackageTypes(String, PackageTypes, String)

取得指定使用者或使用者以及具有指定封裝類型之指定 套件 之所有已安裝實例的相關資訊集合。

FindPackagesForUserWithPackageTypes(String, PackageTypes, String, String)

取得指定使用者或使用者以及具有指定封裝類型之指定 套件 之所有已安裝實例的相關資訊集合。

FindPackagesForUserWithPackageTypes(String, PackageTypes)

取得指定使用者或使用者以及具有指定封裝類型之所有 套件 之所有已安裝實例的相關資訊集合。

public:
 virtual IVector<Package ^> ^ FindPackagesForUserWithPackageTypes(Platform::String ^ userSecurityId, PackageTypes packageTypes) = FindPackagesForUserWithPackageTypes;
/// [Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdWithPackageTypes")]
IVector<Package> FindPackagesForUserWithPackageTypes(winrt::hstring const& userSecurityId, PackageTypes const& packageTypes);
[Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdWithPackageTypes")]
public IList<Package> FindPackagesForUserWithPackageTypes(string userSecurityId, PackageTypes packageTypes);
function findPackagesForUserWithPackageTypes(userSecurityId, packageTypes)
Public Function FindPackagesForUserWithPackageTypes (userSecurityId As String, packageTypes As PackageTypes) As IList(Of Package)

參數

userSecurityId
String

Platform::String

winrt::hstring

使用者或使用者的安全性識別碼 (SID) 。 空字串表示目前的使用者。 所有人 SID (S-1-1-0) 代表所有使用者。 目前使用者以外的任何 SID 都需要系統管理許可權。

packageTypes
PackageTypes

列舉值的位元組合,指定要傳回的封裝類型。

傳回

指定封裝的相關資訊集合。

屬性

另請參閱

適用於

FindPackagesForUserWithPackageTypes(String, PackageTypes, String)

取得指定使用者或使用者以及具有指定封裝類型之指定 套件 之所有已安裝實例的相關資訊集合。

public:
 virtual IVector<Package ^> ^ FindPackagesForUserWithPackageTypes(Platform::String ^ userSecurityId, PackageTypes packageTypes, Platform::String ^ packageFamilyName) = FindPackagesForUserWithPackageTypes;
/// [Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes")]
IVector<Package> FindPackagesForUserWithPackageTypes(winrt::hstring const& userSecurityId, PackageTypes const& packageTypes, winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes")]
public IList<Package> FindPackagesForUserWithPackageTypes(string userSecurityId, PackageTypes packageTypes, string packageFamilyName);
function findPackagesForUserWithPackageTypes(userSecurityId, packageTypes, packageFamilyName)
Public Function FindPackagesForUserWithPackageTypes (userSecurityId As String, packageTypes As PackageTypes, packageFamilyName As String) As IList(Of Package)

參數

userSecurityId
String

Platform::String

winrt::hstring

使用者或使用者的安全性識別碼 (SID) 。 空字串表示目前的使用者。 所有人 SID (S-1-1-0) 代表所有使用者。 目前使用者以外的任何 SID 都需要系統管理許可權。

packageTypes
PackageTypes

列舉值的位元組合,指定要傳回的封裝類型。

packageFamilyName
String

Platform::String

winrt::hstring

套件系列名稱。

傳回

指定封裝的相關資訊集合。

屬性

另請參閱

適用於

FindPackagesForUserWithPackageTypes(String, PackageTypes, String, String)

取得指定使用者或使用者以及具有指定封裝類型之指定 套件 之所有已安裝實例的相關資訊集合。

public:
 virtual IVector<Package ^> ^ FindPackagesForUserWithPackageTypes(Platform::String ^ userSecurityId, PackageTypes packageTypes, Platform::String ^ packageName, Platform::String ^ packagePublisher) = FindPackagesForUserWithPackageTypes;
/// [Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdNamePublisherWithPackageTypes")]
IVector<Package> FindPackagesForUserWithPackageTypes(winrt::hstring const& userSecurityId, PackageTypes const& packageTypes, winrt::hstring const& packageName, winrt::hstring const& packagePublisher);
[Windows.Foundation.Metadata.Overload("FindPackagesByUserSecurityIdNamePublisherWithPackageTypes")]
public IList<Package> FindPackagesForUserWithPackageTypes(string userSecurityId, PackageTypes packageTypes, string packageName, string packagePublisher);
function findPackagesForUserWithPackageTypes(userSecurityId, packageTypes, packageName, packagePublisher)
Public Function FindPackagesForUserWithPackageTypes (userSecurityId As String, packageTypes As PackageTypes, packageName As String, packagePublisher As String) As IList(Of Package)

參數

userSecurityId
String

Platform::String

winrt::hstring

使用者或使用者的安全性識別碼 (SID) 。 空字串表示目前的使用者。 所有人 SID (S-1-1-0) 代表所有使用者。 目前使用者以外的任何 SID 都需要系統管理許可權。

packageTypes
PackageTypes

列舉值的位元組合,指定要傳回的封裝類型。

packageName
String

Platform::String

winrt::hstring

封裝的完整名稱。

packagePublisher
String

Platform::String

winrt::hstring

封裝的發行者。

傳回

指定封裝的相關資訊集合。

屬性

另請參閱

適用於