Service.Dependencies Property
Returns a list of services that are dependent on the referenced SQL Server service.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public ReadOnly Property Dependencies As StringCollection
Get
'Usage
Dim instance As Service
Dim value As StringCollection
value = instance.Dependencies
public StringCollection Dependencies { get; }
public:
property StringCollection^ Dependencies {
StringCollection^ get ();
}
member Dependencies : StringCollection
function get Dependencies () : StringCollection
Property Value
Type: System.Collections.Specialized.StringCollection
A StringCollection system object value that specifies the services associated with the SQL Server service.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace