NET Logging Library
CreateStoredProcedure Method (SqlServerTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > SqlServerTarget Class : CreateStoredProcedure Method
The name of the stored procedure
The logging table name
Create a stored procedure for logging
Syntax
Public Sub CreateStoredProcedure( _
   ByVal storedProcedureName As String, _
   ByVal tableName As String _
) 
Dim instance As SqlServerTarget
Dim storedProcedureName As String
Dim tableName As String
 
instance.CreateStoredProcedure(storedProcedureName, tableName)
public void CreateStoredProcedure( 
   string storedProcedureName,
   string tableName
)
public:
void CreateStoredProcedure( 
   String^ storedProcedureName,
   String^ tableName
) 

Parameters

storedProcedureName
The name of the stored procedure
tableName
The logging table name
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

SqlServerTarget Class
SqlServerTarget Members