Get-MasterDataServicesSystemSettings (PowerShell)

指定の Master Data Services データベースからシステム設定を取得します。

構文

Get-MasterDataServicesSystemSettings [-Database] <Microsoft.MasterDataServices.Configuration.DatabaseInformation>

説明

Get-MasterDataServicesSystemSettings は、指定の Master Data Services データベースのシステム設定が含まれるオブジェクトのコレクションを返します。このコマンドレットは、Master Data Services データベースの mdm.tblSystemSetting のシステム設定のサブセットを返します。

パラメーター

-Database

Database パラメーターは、Get-MasterDataServicesDatabase のデータベース情報オブジェクトです。このオブジェクトには、SQL Server のインスタンスおよび指定の Master Data Services データベースに接続するための情報が含まれます。

必須/オプション

必須

位置

0

既定値

なし

パイプライン入力の受け入れ

可 (ByValue)

ワイルドカード文字の受け入れ

不可

入力および出力

入力型は、コマンドレットにパイプできるオブジェクトの型です。戻り値の型は、コマンドレットが返すオブジェクトの型です。

入力

Microsoft.MasterDataServices.Configuration.DatabaseInformation

入力は、Get-MasterDataServicesDatabase のデータベース情報オブジェクトです。

出力

System.Collections.ObjectModel.Collection{Microsoft.MasterDataServices.Services.DataContracts.SystemSetting}

Get-MasterDataServicesSystemSettings は、指定の Master Data Services データベースのシステム設定オブジェクトのコレクションを返します。

使用例

出力

このコマンドレットを使用したときに返される出力の例を次に示します。

Identifier       : Microsoft.MasterDataServices.Services.DataContracts.Identifier
Permission       : NotSpecified
AuditInfo        : Microsoft.MasterDataServices.Services.DataContracts.AuditInfo
DisplayName      : Server Timeout
Description      : Number of seconds the MDM server will process an action
SettingType      : FreeForm
DataType         : Number
SettingValue     : 120000
SystemDomainList : Microsoft.MasterDataServices.Services.DataContracts.SystemDomainList
MinValue         : 900
MaxValue         : 240000
IsVisible        : True
DisplaySequence  : 2

Identifier       : Microsoft.MasterDataServices.Services.DataContracts.Identifier
Permission       : NotSpecified
AuditInfo        : Microsoft.MasterDataServices.Services.DataContracts.AuditInfo
DisplayName      : Notification Interval
Description      : Frequency that e-mail notifications are issued (seconds)
SettingType      : FreeForm
DataType         : Number
SettingValue     : 120
SystemDomainList : Microsoft.MasterDataServices.Services.DataContracts.SystemDomainList
MinValue         : 120
MaxValue         : 240000
IsVisible        : True
DisplaySequence  : 8

...

出力のパイプと位置パラメーターの使用

この例では、指定の Master Data Services データベースの mdm.tblSystemSetting のシステム設定のサブセットを返します。 Get-MasterDataServicesDatabase からの出力を、Get-MasterDataServicesSystemSettings の Database パラメーターの Get-MasterDataServicesSystemSettings にパイプします。-Database パラメーターを位置パラメーターとして使用します。

C:\PS> Get-MasterDataServicesDatabase -Server "Data Source=MyServer\MyInstance;Integrated Security=True" -DatabaseName "MyDatabase" | Get-MasterDataServicesSystemSettings