次の方法で共有


IDatabaseProjectPropertiesContainer.GetProperty メソッド

カタログ プロパティまたはサーバー プロパティの値を返します。

名前空間:  Microsoft.VisualStudio.Data.Schema.Package.Project
アセンブリ:  Microsoft.VisualStudio.Data.Schema.Package (Microsoft.VisualStudio.Data.Schema.Package.dll 内)

構文

'宣言
Function GetProperty ( _
    propertyName As String, _
    source As DatabaseTaskHost..::..PropertySource _
) As String
string GetProperty(
    string propertyName,
    DatabaseTaskHost..::..PropertySource source
)
String^ GetProperty(
    String^ propertyName, 
    DatabaseTaskHost..::..PropertySource source
)
abstract GetProperty : 
        propertyName:string * 
        source:DatabaseTaskHost..::..PropertySource -> string 
function GetProperty(
    propertyName : String, 
    source : DatabaseTaskHost..::..PropertySource
) : String

パラメーター

戻り値

型: System.String
プロパティの現在値。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

IDatabaseProjectPropertiesContainer インターフェイス

Microsoft.VisualStudio.Data.Schema.Package.Project 名前空間