Share via


HostInfo.HostMetadata Property

Gets or sets the metadata about the host.

Namespace: Microsoft.ApplicationServer.StoreManagement.Query
Assembly: Microsoft.ApplicationServer.StoreManagement (in microsoft.applicationserver.storemanagement.dll)

Usage

'Usage
Dim instance As HostInfo
Dim value As IDictionary(Of String, String)

value = instance.HostMetadata

instance.HostMetadata = value

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification:="Sub-classed types need to be able to set member.")> _
Public Overridable Property HostMetadata As IDictionary(Of String, String)
[SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification="Sub-classed types need to be able to set member.")] 
public virtual IDictionary<string,string> HostMetadata { get; protected set; }
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA2227:CollectionPropertiesShouldBeReadOnly", Justification=L"Sub-classed types need to be able to set member.")] 
public:
virtual property IDictionary<String^, String^>^ HostMetadata {
    IDictionary<String^, String^>^ get ();
    protected: void set (IDictionary<String^, String^>^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public IDictionary<String,String> get_HostMetadata ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
protected void set_HostMetadata (IDictionary<String,String> value)
CompilerGeneratedAttribute 
public function get HostMetadata () : IDictionary<String,String>

CompilerGeneratedAttribute 
protected function set HostMetadata (value : IDictionary<String,String>)

Property Value

The metadata about the host.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

HostInfo Class
HostInfo Members
Microsoft.ApplicationServer.StoreManagement.Query Namespace

  ff425134(v=azure.10).md 2011-08-26