Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The following sample creates ExceUDFReturningScalar.
private void ExecUDFReturningScalar_Click(System.Object sender, System.EventArgs e)
{
server.sql_endpoint proxy = new server.sql_endpoint ();
proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
listBox1.Items.Add ("1) Executing SP. Result is ");
listBox1.Items.Add ("");
int results = proxy.UDFReturningAScalar ();
listBox1.Items.Add ("UDF Return value ");
listBox1.Items.Add (results);
}
See Also
Reference
Sending SOAP Requests by Using Visual Studio 2005 Client (C#)