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.
Methods perform specific tasks related to the object, such as issuing a Checkpoint on a database or requesting an enumerated list of logons for the instance of Microsoft SQL Server.
Methods perform an operation on an object. Methods can take parameters and often have a return value. The return value can be a simple data type, a complex object, or a structure that contains many members.
Use exception handling to detect whether the method has been successful. For more information, see Handling SMO Exceptions.
See Also
Tasks
How to: Use a Simple SMO Method in Visual Basic .NET
How to: Use an SMO Method with a Parameter in Visual Basic .NET
How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
How to: Construct an Object in Visual Basic .NET
How to: Copy an SMO Object in Visual Basic .NET