IDatabasePropertiesContainer.GetProperty Method
Returns the value of a catalog or server property.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Function GetProperty ( _
propertyName As String, _
source As DatabaseTaskHost..::..PropertySource _
) As String
'Usage
Dim instance As IDatabasePropertiesContainer
Dim propertyName As String
Dim source As DatabaseTaskHost..::..PropertySource
Dim returnValue As String
returnValue = instance.GetProperty(propertyName, _
source)
string GetProperty(
string propertyName,
DatabaseTaskHost..::..PropertySource source
)
String^ GetProperty(
String^ propertyName,
DatabaseTaskHost..::..PropertySource source
)
function GetProperty(
propertyName : String,
source : DatabaseTaskHost..::..PropertySource
) : String
abstract GetProperty :
propertyName:string *
source:DatabaseTaskHost..::..PropertySource -> string
Parameters
- propertyName
Type: System.String
The property name
- source
Type: Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
The property source (catalog or server)
Return Value
Type: System.String
.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
IDatabasePropertiesContainer Interface
IDatabasePropertiesContainer Members
Microsoft.VisualStudio.Data.Schema.Project.Project Namespace