Moonware.Server.WCF
StartStopRecording Method



Source Index
if set to true [enabled].
Starts or stops recording.
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function StartStopRecording( _
   ByVal sourceId As Integer, _
   ByVal enabled As Boolean _
) As Boolean
'Usage
 
Dim instance As MoonwareServerWCF
Dim sourceId As Integer
Dim enabled As Boolean
Dim value As Boolean
 
value = instance.StartStopRecording(sourceId, enabled)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public bool StartStopRecording( 
   int sourceId,
   bool enabled
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
bool StartStopRecording( 
   int sourceId,
   bool enabled
) 

Parameters

sourceId
Source Index
enabled
if set to true [enabled].

Return Value

true if success, false otherwise
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MoonwareServerWCF Class
MoonwareServerWCF Members

Send Feedback