Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.