ServerManager.SetMetadata(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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".