DatabaseProjectNodeExtender.GetDefaultValue Method
Returns the default value for a property from the database task host.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Function GetDefaultValue ( _
propertyName As String, _
source As DatabaseTaskHost..::..PropertySource _
) As String
public string GetDefaultValue(
string propertyName,
DatabaseTaskHost..::..PropertySource source
)
public:
String^ GetDefaultValue(
String^ propertyName,
DatabaseTaskHost..::..PropertySource source
)
member GetDefaultValue :
propertyName:string *
source:DatabaseTaskHost..::..PropertySource -> string
public function GetDefaultValue(
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 source of the property.
Return Value
Type: System.String
The default value for this 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
DatabaseProjectNodeExtender Class
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace