Share via


ServerManager.SetMetadata(String, Object) Method

Definition

Adds or changes the metadata for the current server manager.

public:
 void SetMetadata(System::String ^ metadataType, System::Object ^ value);
public void SetMetadata (string metadataType, object value);
member this.SetMetadata : string * obj -> unit
Public Sub SetMetadata (metadataType As String, value As Object)

Parameters

metadataType
String

The name of the metadata being set.

value
Object

The new value of the metadata.

Exceptions

The configuration manager is null.

metadataType is other than "ServiceModel".

Applies to