Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an instance of the log object that belongs to the specified type.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetInstance ( _
type As Type _
) As SPLog
'Usage
Dim type As Type
Dim returnValue As SPLog
returnValue = SPLog.GetInstance(type)
public static SPLog GetInstance(
Type type
)
Parameters
type
Type: System.TypeA System.Type object that represents the type.
Return Value
Type: Microsoft.SharePoint.Upgrade.SPLog
An SPLog object that represents the log.
Remarks
The GetInstance method implements the full name of the specified type as the category.
This method returns a System.ArgumentNullException exception if the type parameter contains a null reference (Nothing in Visual Basic).