MSDN Library

RoleManager.GetLocalResource Method

Returns a reference to the local store named in the service definition file.

Namespace: Microsoft.ServiceHosting.ServiceRuntime
Assembly: Microsoft.ServiceHosting.ServiceRuntime (in microsoft.servicehosting.serviceruntime.dll)

Dim localResourceName As String
Dim returnValue As ILocalResource

returnValue = RoleManager.GetLocalResource(localResourceName)

public static ILocalResource GetLocalResource (
	string localResourceName
public static ILocalResource GetLocalResource (
	String localResourceName
public static function GetLocalResource (
	localResourceName : String
) : ILocalResource



The name of the local store resource.

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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008, and Windows 2000

Target Platforms

© 2016 Microsoft