DataSource.CanConnect

Indicates whether the currently logged-in user has access to this datasource.

public bool CanConnect();

Return Value

True if the user can connect.

See also:

Class DataSource