IDatabasePropertiesContainer.GetDefaultValue Method
Returns the default 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 GetDefaultValue ( _
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.GetDefaultValue(propertyName, _
source)
string GetDefaultValue(
string propertyName,
DatabaseTaskHost..::..PropertySource source
)
String^ GetDefaultValue(
String^ propertyName,
DatabaseTaskHost..::..PropertySource source
)
function GetDefaultValue(
propertyName : String,
source : DatabaseTaskHost..::..PropertySource
) : String
abstract GetDefaultValue :
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