Compartir a través de


LocalResource.Name Property

 

Gets the name of the local storage resource that was specified in the service definition file.

Namespace:   Microsoft.WindowsAzure.ServiceRuntime
Assembly:  Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)

Syntax

public abstract string Name { get; internal set; }
public:
property String^ Name {
    virtual String^ get() abstract;
    internal: virtual void set(String^ value) abstract;
}
abstract Name : string with get, internal set
Public MustOverride Property Name As String
    Get
    Friend Set
End Property

Property Value

Type: System.String

Type: System.String

A String that contains the name of the local storage resource.

Remarks

The Name property gets the value that was defined for the name attribute in the ServiceDefinition.csdef file. For more information about defining local storage resources, see the Configure Local Storage Resources.

See Also

RoleEnvironment
LocalResource Class
Microsoft.WindowsAzure.ServiceRuntime Namespace

Return to top