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)
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 function GetLocalResource ( localResourceName : String ) : ILocalResource
Parameters
- localResourceName
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.