次の方法で共有


EnvironmentInfo.Variables プロパティ

環境の変数を取得します。

名前空間:  Microsoft.SqlServer.Management.IntegrationServices
アセンブリ:  Microsoft.SqlServer.Management.IntegrationServices (Microsoft.SqlServer.Management.IntegrationServices.dll)

構文

'宣言
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(EnvironmentVariable))> _
Public ReadOnly Property Variables As EnvironmentVariableCollection 
    Get
'使用
Dim instance As EnvironmentInfo 
Dim value As EnvironmentVariableCollection 

value = instance.Variables
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(EnvironmentVariable))]
public EnvironmentVariableCollection Variables { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(EnvironmentVariable))]
public:
property EnvironmentVariableCollection^ Variables {
    EnvironmentVariableCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(EnvironmentVariable))>]
member Variables : EnvironmentVariableCollection
function get Variables () : EnvironmentVariableCollection

プロパティ値

型: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentVariableCollection
環境の変数。

関連項目

参照

EnvironmentInfo クラス

Microsoft.SqlServer.Management.IntegrationServices 名前空間