IDTSName.Description プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
対象について記述を取得または設定します。
public:
property System::String ^ Description { System::String ^ get(); void set(System::String ^ value); };
public string Description { get; set; }
member this.Description : string with get, set
Public Property Description As String
プロパティ値
オブジェクトに関する情報を含む文字列です。
例
IDTSNameクラスはPackageクラスを含む多くのクラスに継承され、DtsContainerクラスを経てEventsProviderクラスに継承され、そこからPackageクラスやほとんどの他のクラスに継承されます。 以下のコードサンプルは、Packageクラスで使用されるIDTSNameプロパティを示しています。
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Dts.Runtime;
namespace Microsoft.SqlServer.SSIS.Samples
{
class Program
{
static void Main(string[] args)
{
Package pkg = new Package();
// Display the properties inherited from IDTSName.
Console.WriteLine("CreationName: {0}", pkg.CreationName);
Console.WriteLine("Name: {0}", pkg.Name);
Console.WriteLine("Description: {0}", pkg.Description);
Console.WriteLine("ID: {0}", pkg.ID);
}
}
}
Imports System
Imports System.Collections.Generic
Imports System.Text
Imports Microsoft.SqlServer.Dts.Runtime
Namespace Microsoft.SqlServer.SSIS.Samples
Class Program
Shared Sub Main(ByVal args() As String)
Dim pkg As Package = New Package()
' Display the properties inherited from IDTSName.
Console.WriteLine("CreationName: {0}", pkg.CreationName)
Console.WriteLine("Name: {0}", pkg.Name)
Console.WriteLine("Description: {0}", pkg.Description)
Console.WriteLine("ID: {0}", pkg.ID)
End Sub
End Class
End Namespace
出力例:
クリエイションネーム:MSDTS。パッケージ.1
名前:{8E2F8EC1-A6E8-4114-8760-0C1A72277B8C}
説明:
ID: {8E2F8EC1-A6E8-4114-8760-0C1A72277B8C}