Share via


HostedServiceReference.ServiceName Property

Gets or sets the name of the cloud service.

Namespace: Microsoft.WindowsAzure.Management.Models.AffinityGroupGetResponse
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)

Usage

'Usage
Dim instance As HostedServiceReference
Dim value As String

value = instance.ServiceName

instance.ServiceName = value

Syntax

'Declaration
Public Property ServiceName As String
public string ServiceName { get; set; }
public:
property String^ ServiceName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ServiceName ()

/** @property */
public void set_ServiceName (String value)
public function get ServiceName () : String

public function set ServiceName (value : String)

Property Value

The name.

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

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

HostedServiceReference Class
HostedServiceReference Members
Microsoft.WindowsAzure.Management.Models.AffinityGroupGetResponse Namespace