Moonware.Server.WCF Namespace > MoonwareServerWCF Class : CapturePicture Method |
'Declaration <OperationBehaviorAttribute()> <PrincipalPermissionAttribute(Name="", Role="Edit Settings", Authenticated=True, Action=SecurityAction.Demand, Unrestricted=False)> Public Function CapturePicture( _ ByVal sourceId As Integer, _ ByVal fileName As String _ ) As Boolean
'Usage Dim instance As MoonwareServerWCF Dim sourceId As Integer Dim fileName As String Dim value As Boolean value = instance.CapturePicture(sourceId, fileName)
[OperationBehaviorAttribute()] [PrincipalPermissionAttribute(Name="", Role="Edit Settings", Authenticated=true, Action=SecurityAction.Demand, Unrestricted=false)] public bool CapturePicture( int sourceId, string fileName )
[OperationBehaviorAttribute()] [PrincipalPermissionAttribute(Name="", Role="Edit Settings", Authenticated=true, Action=SecurityAction.Demand, Unrestricted=false)] public: bool CapturePicture( int sourceId, String^ fileName )
true
if success, false
otherwiseTarget 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