TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ryan
NA
7
0
Sql Server - Finding database catalogs using Windows Authentication?
Jun 26 2007 11:20 AM
I have code that works to connect to a database and finds all of the catalogs using sql server authentication. It is as follows:
private SQLDMO.SQLServer srv = new SQLDMO.SQLServerClass();
srv.Connect(ServerName,Login,Password);
This is all good and well, but I want to also allow the user to log in using Windows Authentication. The problem here being that I the srv.Connect method Must have a login and password, but I do not know how to pass these parameters. How can I do this?
Reply
Answers (
2
)
Dynamic allocation of Object type
Novice Problem17