IDatabaseProjectPropertiesContainer.GetProperty Method
Returns the value of a catalog or server property.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
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
Parameters
- propertyName
Type: System.String
The name of the property.
- source
Type: Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
The property source (catalog or server).
Return Value
Type: System.String
The current value of the property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabaseProjectPropertiesContainer Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace