共用方式為


SPGlobalAdmin.Close Method

NOTE: This API is now obsolete.

In Windows SharePoint Services 2.0, the Close method closed the global administration object and is maintained for backward compatibility.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("This method is no longer necessary.", False)> _
Public Sub Close
'Usage
Dim instance As SPGlobalAdmin

instance.Close()
[ObsoleteAttribute("This method is no longer necessary.", false)]
public void Close()

Remarks

Calling the Close method has the same effect as calling the Dispose method. Use the Close method to close the SPGlobalAdmin object and release resources when you are finished using the object. Do not reuse the object or objects obtained through the object after it is closed.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

Microsoft.SharePoint.Administration Namespace