DatabaseTaskItem.SetMetadata Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Sets the value of the named metadata.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub SetMetadata ( _
metadataName As String, _
metadataValue As String _
)
public void SetMetadata(
string metadataName,
string metadataValue
)
public:
virtual void SetMetadata(
String^ metadataName,
String^ metadataValue
) sealed
abstract SetMetadata :
metadataName:string *
metadataValue:string -> unit
override SetMetadata :
metadataName:string *
metadataValue:string -> unit
public final function SetMetadata(
metadataName : String,
metadataValue : String
)
Parameters
- metadataName
Type: System.String
The metadata name.
- metadataValue
Type: System.String
The value.
Implements
ITaskItem.SetMetadata(String, 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.